lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shameema Umer <shem...@gmail.com>
Subject Re: How to find the age of a page
Date Wed, 06 Jun 2012 08:45:12 GMT
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 <jack@basetechnology.com>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: 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+s472066n3987234h80@n3.**nabble.com<ml-node%2Bs472066n3987234h80@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<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<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<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.
>

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