[Xapian-discuss] Re: example of using the new OP_VALUE_RANGE in Query

Olly Betts olly at survex.com
Tue Jun 12 04:55:04 BST 2007


On Mon, Jun 11, 2007 at 08:37:13PM -0700, Andrey Kong wrote:
> when i use range = xapian.Query(xapian.Query.OP_VALUE_RANGE, 0, '1', '4'), 
> it shows the following error
> NotImplementedError: Wrong number of arguments for overloaded function

Ah yes, that wasn't wrapped in 1.0.0.  It's fixed in 1.0.1:

* Wrap Xapian::Query constructor for creating ValueRange queries.

I committed a feature test earlier to ensure it works in Python (and
continues to work).

Cheers,
    Olly



More information about the Xapian-discuss mailing list