[Xapian-discuss] questions about xapian

James Aylett james-xapian at tartarus.org
Sun Apr 19 17:38:35 BST 2009


On Sun, Apr 19, 2009 at 04:05:39PM +0800, 白俊良 wrote:

> > Did you read this:
> > http://xapian.org/docs/valueranges.html
>
> I have read this:
> http://xapian.org/docs/matcherdesign.html
>
> What I am wonder is how valuerange-search works.

If you'd read the value ranges document as recommended, you'd have
seen that one way that date range processors use is to use
OP_VALUE_RANGE. It also suggests you use query.get_description() to
have Xapian tell you what the QueryParser has converted the query into
to achieve the query.

Unfortunately I can't see a detailed description of the OP_VALUE_*
query operators anywhere, so I'll add this to the missing
documentation list. In the meantime I'll leave Olly or Richard to
explain it :-)

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list