[Xapian-tickets] [Xapian] #215: Boolean OR could be optimised further
Xapian
nobody at xapian.org
Thu Sep 22 23:11:31 BST 2022
#215: Boolean OR could be optimised further
-----------------------------+--------------------------------------
Reporter: Richard Boulton | Owner: Vaibhav Kansagara
Type: enhancement | Status: new
Priority: normal | Milestone: 1.4.x
Component: Matcher | Version: SVN trunk
Severity: minor | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-----------------------------+--------------------------------------
Comment (by Olly Betts):
> I'm not sure that it would lead to much improvement for common cases,
but it is easy to make up cases where it would make a huge improvement
(eg, a boolean OR in which one of the terms is a MatchAll term - none of
the other postlists would need to be moved in this case.)
While the optimisation here is worth trying, this particular case would
actually be better handled by the query optimiser just reducing it to a
MatchAll query. I tested and that doesn't currently happen.
Vaibhav: Are you still interested in working on this? If not, we should
unassign.
--
Ticket URL: <https://trac.xapian.org/ticket/215#comment:15>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list