when ever you reindex add the current TimeStamp .. that will be the publish date .. from there you can calculate Thanks and Regards, S SYED ABDUL KATHER
On Wed, Jun 6, 2012 at 2:16 PM, Shameema Umer [via Lucene] < ml-node+s472066n3987930...@n3.nabble.com> wrote: > Hi abdul and Jack, > > i got the tstamp working but I really need to know the published date of > each page. > > > On Sat, Jun 2, 2012 at 12:01 AM, Jack Krupansky <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3987930&i=0>>wrote: > > > > 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: [hidden email]<http://user/SendEmail.jtp?type=node&node=3987930&i=1> > > 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+s472066n3987234h80@n3.**nabble.com<ml-node%[hidden > > email]<http://user/SendEmail.jtp?type=node&node=3987930&i=2>>> > > > 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< > 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=**aW4uYWJkdWxAZ21haWwuY29tfDQ3Mj**A2NnwxMDczOTUyNDEw< > >> > > >> . > >> 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< > 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< > 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. > > > > > ------------------------------ > 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-tp3987234p3987930.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-tp3987234p3987942.html Sent from the Solr - User mailing list archive at Nabble.com.