[Xapian-discuss] get a list of documents with a particular value

Olly Betts olly at survex.com
Tue May 20 12:05:40 BST 2008


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



More information about the Xapian-discuss mailing list