When i use Nutch1.2 Solr1.4,from Nutch i use the following command to
commit the index to Solr:
bin/nutch crawl urls -dir ...
But there is an error in Solr:
ERROR : org.apache.solr.core.SolrCore -
org.apache.solr.common.SolrException: Error while creating field
SELECT DATE_FORMAT( ts.insertDate,'%Y-%m-%d-%k:%i:%S') as insertDate,
Try to use the above DATE_FORMAT you will get the date as
2012-03-24-14:07:59
-Original Message-
From: forwardswing [mailto:wangweiz...@sohu.com]
Sent: Tuesday, May 08, 2012 2:22 PM
To: solr-user@lucene.apache.org
I am a learner to nutch,can you please describe in more detail?
For example,from where and how to execute the SQL?
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-change-the-default-format-for-tstamp-tp3970751p3971251.html
Sent from the Solr - User mailing list archive
You should upgrade your Nutch version. Nutch 1.4 writes dates in the
format Solr understands.
On Tue, 8 May 2012 06:03:25 -0700 (PDT), forwardswing
wangweiz...@sohu.com wrote:
I am a learner to nutch,can you please describe in more detail?
For example,from where and how to execute the SQL?