If you uncomment the "timestamp" field in the Solr example, Solr will automatically initialize it for each new document to be the time when the document is indexed (or most recently indexed). Any field declared with default="NOW" and not explicitly initialized will have the current time when indexed (or re-indexed.)

-- Jack Krupansky

-----Original Message----- From: in.abdul
Sent: Friday, June 01, 2012 6:55 AM
To: solr-user@lucene.apache.org
Subject: Re: How to find the age of a page

Shameema Umer,

you can add another one new field in schema ..  while updating or indexing
add the time stamp to that current field ..

           Thanks and Regards,
       S SYED ABDUL KATHER



On Fri, Jun 1, 2012 at 3:44 PM, Shameema Umer [via Lucene] <
ml-node+s472066n3987234...@n3.nabble.com> wrote:

Hi all,

How can i find the age of a page solr results? that is the last updated
time.
tstamp refers to the fetch time, not the exact updated time, right?


------------------------------
 If you reply to this email, your message will be added to the discussion
below:

http://lucene.472066.n3.nabble.com/How-to-find-the-age-of-a-page-tp3987234.html
To unsubscribe from Lucene, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472066&code=aW4uYWJkdWxAZ21haWwuY29tfDQ3MjA2NnwxMDczOTUyNDEw>
.
NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>



-----
THANKS AND REGARDS,
SYED ABDUL KATHER
--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-find-the-age-of-a-page-tp3987234p3987238.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to