[Xapian-tickets] [Xapian] #755: propose fixes for syntax errors for queries
Xapian
nobody at xapian.org
Thu Feb 22 19:34:44 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 | Keywords:
Blocked By: | Blocking:
Operating System: All |
--------------------------------+------------------
sometimes xapian throws an error when a specific syntax is bad, like:
{{{
Didn't understand date specification '1wek..'
}}}
it might be friendly to be able to propose candidates that would be
acceptable queries, similar to how git does when a subcommand is mis-
written:
{{{
0 dkg at alice:~$ git comit
git: 'comit' is not a git command. See 'git --help'.
The most similar command is
commit
1 dkg at alice:~$
}}}
For the example above, it could say something like:
{{{
Didn't understand date specification '1wek..'
Perhaps you meant '1week..' ?
}}}
--
Ticket URL: <https://trac.xapian.org/ticket/755>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list