[Xapian-tickets] [Xapian] #378: Optimise MultiAndPostList using current weight of lhs

Xapian nobody at xapian.org
Mon Mar 20 00:48:22 GMT 2023


#378: Optimise MultiAndPostList using current weight of lhs
-----------------------------+------------------------------------
 Reporter:  Richard Boulton  |             Owner:  Richard Boulton
     Type:  enhancement      |            Status:  assigned
 Priority:  low              |         Milestone:  2.0.0
Component:  Matcher          |           Version:  git master
 Severity:  normal           |        Resolution:
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+------------------------------------
Changes (by Olly Betts):

 * version:  SVN trunk => git master
 * milestone:  1.4.x => 2.0.0

Comment:

 I'm going to bump the milestone.

 This really needs some profiling to determine whether this helps or
 hinders overall (and particular in cases we're likely to care about).

 Richard notes some results above, but the matcher has been rewritten since
 so even those can't really be relied on as still applicable.

 The patch here should apply to `AndPostList::find_next_match()` in
 `matcher/andpostlist.cc` without much effort.

 The thought above about some sort of cost metrics is probably worth
 exploring too - we now have a query optimiser, and that could probably do
 a better job if it knew what was likely to be expensive.
-- 
Ticket URL: <https://trac.xapian.org/ticket/378#comment:11>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list