[Xapian-discuss] query within value range
Mark Clarkson
mark.clarkson at smorg.co.uk
Tue Jun 19 16:55:50 BST 2007
On Tue, 2007-06-19 at 14:04 +0100, Olly Betts wrote:
> Hmm, and it's OK to return different length date/time value bounds
> because it's a string compare, so this will work whatever granularity
> the values are in the database.
>
> This seems reasonable to me. My tree's quite heavily patched at the
> moment, but I'll apply it before the next release. If you could supply
> a few test cases (for queryparsertest.cc) that would be useful.
>
> Cheers,
> Olly
Indeed, I can use 20070618..20070619, or 20070618000000..20070619000000
on the same date/time Values. :)
I've attached 4 new test cases for query parser. Hope they're okay.
Cheers
Mark.
... ...
./queryparsertest completed test run: All 17 tests passed.
PASS: queryparsertest
./termgentest completed test run: All 1 tests passed.
PASS: termgentest
==================
All 7 tests passed
==================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: queryparser.patch
Type: text/x-patch
Size: 1715 bytes
Desc: not available
Url : http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20070619/df2ec961/queryparser.bin
More information about the Xapian-discuss
mailing list