lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toke Eskildsen ...@statsbiblioteket.dk>
Subject Re: Newest docs added
Date Fri, 26 Feb 2016 22:53:07 GMT
MarkG <gates.mark@gmail.com> wrote:
> Is there a way anyone can recommend to identify newly added docs to a Solr
> index. Ie: I have some new docs. I update the index with the new doc and
> this happens on a regular basis, say every 4 weeks. I want to be able to
> distinguish the docs that are new given in a certain number of days, say 10
> days from the time the index had the new doc added.

https://lucene.apache.org/solr/4_7_0/solr-core/org/apache/solr/update/processor/TimestampUpdateProcessorFactory.html
and a 'timestamp:[NOW/DAY-10DAYS TO *]' query?


- Toke Eskildsen

Mime
View raw message