[Xapian-tickets] [Xapian] #264: Optimise expand using min weight techniques
Xapian
nobody at xapian.org
Sat Oct 19 04:10:35 BST 2019
#264: Optimise expand using min weight techniques
-------------------------+-------------------------------
Reporter: olly | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.4.x
Component: Matcher | Version: git master
Severity: minor | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-------------------------------
Comment (by olly):
Looking at the expansion code, it looks to me like we fetch the collection
frequency for every term, which is a waste of effort when we're using the
default `TradEWeight` weighting - it's only used by `Bo1EWeight`. We
should have a `need_stat()` mechanism like `Xapian::Weight` has.
--
Ticket URL: <https://trac.xapian.org/ticket/264#comment:6>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list