[Xapian-tickets] [Xapian] #663: Make ValueRangeProcessor return a Query object

Xapian nobody at xapian.org
Mon May 9 02:29:26 BST 2016


#663: Make ValueRangeProcessor return a Query object
-------------------------+------------------------------
 Reporter:  olly         |             Owner:  olly
     Type:  enhancement  |            Status:  closed
 Priority:  normal       |         Milestone:  1.3.6
Component:  QueryParser  |           Version:  SVN trunk
 Severity:  normal       |        Resolution:  fixed
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------
Changes (by olly):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Fixed in [cca8b4a5cf6f68bc44b26aff00a9a6ccb7925d74].

 After trying various approaches, I've made the return type `Xapian::Query`
 with a new `OP_INVALID` op for "range not handled".  But rather than
 `OP_FILTER_KEY`, the grouping key can optionally be explicitly specified
 to `QueryParser` methods `add_boolean_prefix()` and
 `add_rangeprocessor()`, with sane defaults if not specified.

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



More information about the Xapian-tickets mailing list