[Xapian-tickets] [Xapian] #795: treat parenthesized subqueries the same for boolean and probabilistic fields

Xapian nobody at xapian.org
Sun Sep 1 01:12:57 BST 2019


#795: treat parenthesized subqueries the same for boolean and probabilistic
fields
-------------------------+-------------------------
 Reporter:  bremner      |             Owner:  olly
     Type:  enhancement  |            Status:  new
 Priority:  normal       |         Milestone:
Component:  QueryParser  |           Version:
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------

Comment (by bremner):

 I did some experiments with faking this in a field processor, by calling
 parse_query(stuff, prefix). There were two flaws I noticed with this
 approach

 1) if 'stuff' had punctuation in it, it was parsed as phrases, which is
 probably not what you want for boolean operators (e.g. notmuch tags use
 non-letter characters quite extensively)

 2) It doesn't respect the field specific default operator / exclusive
 status, because of course it has no idea what field the prefix is coming
 from.

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



More information about the Xapian-tickets mailing list