lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Re: How to get the time document was indexed?
Date Fri, 20 Jan 2012 13:15:44 GMT
Hi Alex,
you can create a field in the schema.xml of type date or tdate called
(something like) idx_timestamp and set its default option to NOW then you
won't have to add any extra fields to the documents because it will be
automatically created when documents are indexed.
Hope it helps.
Tommaso

2012/1/20 ola nowak <ola.m.nowak@gmail.com>

> Hi,
> I want to be able to tell when the document was indexed, so I could
> re-index it if it has changed in the meantime. Is there an easy way to do
> this? Or I have to manualy put the date in the document and add a new field
> in schema?
> Thanks,
> Alex
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message