lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Reh <>
Subject Re: retrieving latest document **only**
Date Fri, 11 Jan 2013 09:20:54 GMT
Am 10.01.2013 11:54, schrieb jmozah:
> I need a query that matches only the most recent ones...
> Because my stats depend on it..
>>> But I have a requirement to show **only** the latest documents and the
>>> "stats" along with it..

What do you want?
'the most recent ones' or '**only** the latest' ?

Perhaps a range query "q=timestamp:[refdate TO NOW]" will match your needs.


View raw message