lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Solr Cell Tika - date.formats
Date Wed, 28 May 2014 20:23:02 GMT
Pass multiple instances of the date.formats parameter:

http://server:port/solr/update/extract?date.formats=yyyy-MM-dd'T'HH:mm:ss'Z'&date.formats=yyyy-MM-dd'T'HH:mm:ss

But as the doc says, it comes preconfigured with all these formats:

yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss
yyyy-MM-dd
yyyy-MM-dd hh:mm:ss
yyyy-MM-dd HH:mm:ss
EEE MMM d hh:mm:ss z yyyy
EEE, dd MMM yyyy HH:mm:ss zzz
EEEE, dd-MMM-yy HH:mm:ss zzz
EEE MMM d HH:mm:ss yyyy

See:
https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Solr+Cell+using+Apache+Tika

-- Jack Krupansky

-----Original Message----- 
From: ienjreny
Sent: Wednesday, May 28, 2014 1:00 PM
To: solr-user@lucene.apache.org
Subject: Solr Cell Tika - date.formats

Hello everybody

How can we pass more than value for "date.formats" parameter into the URL

Is comma seperated? Or we ca just define it into solrconfig.xml?
Example:
http://server:port/solr/update/extract?date.formats=yyyy-MM-dd'T'HH:mm:ss'Z',yyyy-MM-dd'T'HH:mm:ss

Thanks in advance



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Cell-Tika-date-formats-tp4138478.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message