ateFormatTransformer">
Compare your DIH config with the wiki:
http://wiki.apache.org/solr/DataImportHandler#HttpDataSource_Example
-- Jack Krupansky
-Original Message-
From: jayantu
Sent: Friday, August 17, 2012 5:42 PM
To: solr-user@lucene.apache.org
Subject: Solr RSS DIH dateT
yes it does
SimpleDateFormat sdt = new SimpleDateFormat("EEE',' dd MMM HH:mm:ss
z");
try {
Date myDate = sdt.parse(myDateStr);
System.out.println("Parsed date: " + myDate);
} catch (ParseException e) {
/
date in the schema file. Even after
> this I still get the Solr Exception as:
> org.apache.solr.common.SolrException: ERROR:
> [doc=rss.cnn.com/~r/rss/cnn_allpolitics/~3/R2L1CPDPBJU/] Error adding field
> 'pubDate'='Wed, 15 Aug 2012 14:11:27 EDT'
>
> What might be the issue?
>
>
>
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-RSS-DIH-dateTimeFormat-does-work-tp4001911.html
Sent from the Solr - User mailing list archive at Nabble.com.