Re: anyway to get Document update time stamp

2009-09-17 Thread Shalin Shekhar Mangar
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.


anyway to get Document update time stamp

2009-09-17 Thread siping liu

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.
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/