[Xapian-discuss] How to search documents with certain values

Abhinay Mehta abhinay.mehta at gmail.com
Sat May 22 19:00:08 BST 2010


Hi all,

I am creating Xapian documents and adding a unix timestamp to each document
as a value using the doc.add_value method.

When I search my Xapian database, I want the option to only search documents
with a timestamp within the last year.

Is there a way to search across documents with a value greater than a
specified value string? Or is there a better way of doing something like
this?

Any help would be appreciated.


More information about the Xapian-discuss mailing list