[Xapian-tickets] [Xapian] #224: Supply and optimise more OP_VALUE_ comparison operators

Xapian nobody at xapian.org
Fri Mar 24 03:26:52 GMT 2023


#224: Supply and optimise more OP_VALUE_ comparison operators
-----------------------------+-------------------------------
 Reporter:  Richard Boulton  |             Owner:  visvesh
     Type:  enhancement      |            Status:  new
 Priority:  low              |         Milestone:  2.0.0
Component:  Matcher          |           Version:  git master
 Severity:  minor            |        Resolution:
 Keywords:  GoodFirstBug     |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+-------------------------------
Changes (by Olly Betts):

 * milestone:  1.4.x => 2.0.0

Comment:

 > In order to get the Postlist's type, slot, begin, and end we would have
 to parse the string returned by get_description()

 No, we shouldn't be parsing descriptions for such things.

 Also, this optimisation really should be done before we've created the
 `PostList` objects for the `OP_VALUE_...` operators - it should look at
 the query internal objects (which will be of classes such as
 `QueryValueLE`).

 This can be added without an incompatible change to the public ABI so not
 a blocker for the next release series.
-- 
Ticket URL: <https://trac.xapian.org/ticket/224#comment:16>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list