On Fri, Sep 18, 2009 at 12:30 AM, siping liu wrote:
>
> I understand there's no "update" in Solr/lucene, it's really delete+insert.
> Is there anyway to get a Document's insert time stamp, w/o explicitely
> creating such a data field in the document? If so, how can I query it, for
> instance "get all documents that are older than 24 hours"? Thanks.
>
No, that is not possible without creating such a field. You don't have to
explicitly send a timestamp value. The following will add the value of NOW
when each document is indexed:
--
Regards,
Shalin Shekhar Mangar.