[Xapian-tickets] [Xapian] #48: Support term ranges

Xapian nobody at xapian.org
Tue Dec 10 07:52:22 GMT 2019


#48: Support term ranges
--------------------------+-------------------------------
 Reporter:  Olly Betts    |             Owner:  Olly Betts
     Type:  enhancement   |            Status:  assigned
 Priority:  low           |         Milestone:
Component:  Library API   |           Version:  git master
 Severity:  minor         |        Resolution:
 Keywords:  GoodFirstBug  |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+-------------------------------
Changes (by Olly Betts):

 * keywords:   => GoodFirstBug
 * priority:  normal => low
 * version:  SVN trunk => git master
 * milestone:  1.4.x =>


Old description:

> Extend {{{OP_WILDCARD}}} to support {{{zip..zoo}}} style ranges of terms
> to wildcard over.
>
> ----
>
> ''Original description:''
>
> Provide explicit support for range searches, such as
> "RangePostList" - combine a sequence of adjacent terms...

New description:

 Extend {{{OP_WILDCARD}}} (or add a new operator) to support {{{zip..zoo}}}
 style ranges of terms to wildcard over.

 Possible API:

 {{{
 Query(op, const string&, const string&)
 }}}

 The implementation would be like `OP_WILDCARD` but simpler because there's
 no need to check wildcard patterns, just create an allterms iterator,
 `skip_to(range_start)` then iterate until we hit reach `range_end` (or the
 end iterator.

 ----

 ''Original description:''

 Provide explicit support for range searches, such as
 "RangePostList" - combine a sequence of adjacent terms...

--
Comment:

 I don't recall any user requests for term ranges, so I don't think this is
 1.4.x material now.  Some other systems do support such things, so
 presumably they're useful to somebody, and this shouldn't be a lot of work
 to implement.
-- 
Ticket URL: <https://trac.xapian.org/ticket/48#comment:19>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list