Alessandro Pasotti
2008-May-20 10:52 UTC
[Xapian-discuss] get a list of documents with a particular value
Hello, I need to obtain a list of documents older than a particular timestamp (the timestamp is stored in a value slot). Is there a way to get this list? I don't need to do any term-based query, just to get the list of this "old" documents. I tried with a standard empty query string and a XapianQuery::OP_VALUE_LE filter but it returns nothing. -- Alessandro Pasotti w3: www.itopen.it
Olly Betts
2008-May-20 11:05 UTC
[Xapian-discuss] get a list of documents with a particular value
On Tue, May 20, 2008 at 12:52:17PM +0200, Alessandro Pasotti wrote:> I need to obtain a list of documents older than a particular timestamp > (the timestamp is stored in a value slot). > > Is there a way to get this list? I don't need to do any term-based > query, just to get the list of this "old" documents. > > I tried with a standard empty query string and a > XapianQuery::OP_VALUE_LE filter but it returns nothing.Just use the OP_VALUE_LE query by itself. Cheers, Olly