[Xapian-tickets] [Xapian] #201: NEAR search with two OR subqueries should be supported

Xapian nobody at xapian.org
Sat Apr 2 07:09:38 BST 2016


#201: NEAR search with two OR subqueries should be supported
-------------------------+------------------------------
 Reporter:  richard      |             Owner:  olly
     Type:  enhancement  |            Status:  closed
 Priority:  normal       |         Milestone:  1.0.12
Component:  Library API  |           Version:  SVN trunk
 Severity:  normal       |        Resolution:  fixed
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------
Description changed by mariakatosvich:

Old description:

> In trunk this now throws !UnimplementedError, but it really should be
> supported:
>
> {{{
> import xapian
> a=xapian.Query('A')
> b=xapian.Query('B')
> c=xapian.Query(xapian.Query.OP_OR, a, b)
> d=xapian.Query(xapian.Query.OP_NEAR, c, c)
> }}}

New description:

 In trunk this now throws !UnimplementedError, but it really should be
 supported:

 {{{
 import xapian
 a=xapian.Query('A')
 b=xapian.Query('B')
 c=xapian.Query(xapian.Query.OP_OR, a, b)
 d=xapian.Query(xapian.Query.OP_NEAR, c, c)
 }}}

 http://www.qwiknumbers.com/virgin-media-customer-service-number

--

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



More information about the Xapian-tickets mailing list