How to change the default format for tstamp?

2012-05-08 Thread forwardswing
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
'tstamp{type=date,properties=stored}' from value '20120508013912168'

After the checking for Solr's source code,i found that Solr didnot recognize
this string format.
So i want to change the tstamp value's format to "2012-05-08-01:39:12.168Z"

Who can help me ?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-change-the-default-format-for-tstamp-tp3970751.html
Sent from the Solr - User mailing list archive at Nabble.com.


RE: How to change the default format for tstamp?

2012-05-08 Thread forwardswing
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 at Nabble.com.


How add custom field to Nutch1.4?

2012-05-13 Thread forwardswing
I using Solr1.4 integrated with Nutch1.4,when nutch send data to solr for
indexing,how to add some custome fileds?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-add-custom-field-to-Nutch1-4-tp3983549.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How add custom field to Nutch1.4?

2012-05-13 Thread forwardswing
who can help me ?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-add-custom-field-to-Nutch1-4-tp3983549p3983597.html
Sent from the Solr - User mailing list archive at Nabble.com.


How to use SolrJ index a file or a FileInputStream with some other attributes?

2012-06-03 Thread forwardswing
How to use SolrJ index a file or a FileInputStream with some other
attributes?

Please give me some example.

Thanks a lot.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-use-SolrJ-index-a-file-or-a-FileInputStream-with-some-other-attributes-tp3987492.html
Sent from the Solr - User mailing list archive at Nabble.com.