[Xapian-tickets] [Xapian] #755: propose fixes for syntax errors for queries

Xapian nobody at xapian.org
Thu Feb 22 19:46:18 GMT 2018


#755: propose fixes for syntax errors for queries
-------------------------+-------------------------
 Reporter:  dkg          |             Owner:  olly
     Type:  enhancement  |            Status:  new
 Priority:  normal       |         Milestone:
Component:  Other        |           Version:
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------

Comment (by olly):

 The specific example you give looks like a trickier case to deal with
 since xapian doesn't know anything about "1week" as a format.

 I'm guessing that error is coming from notmuch's date handling.  We could
 perhaps provide a mechanism so that notmuch could provide a correction for
 `1wek` which would get fitted into the query string to give a full
 correction, but there are probably lower hanging fruit - e.g. when the
 parser currently reports a syntax error.

--
Ticket URL: <https://trac.xapian.org/ticket/755#comment:1>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list