Step 1: Verify that "publishedDate" is in fact the field name that Nutch
uses for "published date".
Step 2: Make sure the Nutch is passing the date in the format
YYYY-MM-DDTHH:MM:SSZ. Whether you need a "Nutch plugin" to do that is not a
question for this Solr mailing list. My (very limited) understanding is that
there was a Nutch plugin that worked for the old version of Nutch but that
it was not updated for the new version of Nutch.
Step 3: Have you added the field "publishedDate" to your Solr schema with
field type of "date" or "tdate"?
If you can't figure out how to fix the problem on the Nutch side of the
fence, then you will have to do a custom update processor for Solr. Solr 4.x
has some new tools that should make that easier.
See:
https://issues.apache.org/jira/browse/SOLR-2802
-- Jack Krupansky
-----Original Message-----
From: Shameema Umer
Sent: Wednesday, June 06, 2012 4:12 AM
To: solr-user@lucene.apache.org
Subject: sort by publishedDate and get published Date in solr query results
Hi,
Please help me sort by publishedDate and get publishedDate in solr query
results. Do i need to install anything(plugin).
Thanks
Shameema