You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ienjreny <is...@gmail.com> on 2014/05/28 19:00:04 UTC

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.

Re: Solr Cell Tika - date.formats

Posted by ienjreny <is...@gmail.com>.
Thanks for your fast answer


On Wed, May 28, 2014 at 11:23 PM, Jack Krupansky-2 [via Lucene] <
ml-node+s472066n4138505h63@n3.nabble.com> wrote:

> Pass multiple instances of the date.formats parameter:
>
> <a href="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">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: [hidden email] <http://user/SendEmail.jtp?type=node&node=4138505&i=0>
> 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:
> <a href="http://server:port
> /solr/update/extract?date.formats=yyyy-MM-dd'T'HH:mm:ss'Z',yyyy-MM-dd'T'HH:mm:ss">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.
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-Cell-Tika-date-formats-tp4138478p4138505.html
>  To unsubscribe from Solr Cell Tika - date.formats, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4138478&code=aXNtYWVlbC5lbmpyZW55QGdtYWlsLmNvbXw0MTM4NDc4fC01NTkxMjYzODg=>
> .
> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




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

Re: Solr Cell Tika - date.formats

Posted by Jack Krupansky <ja...@basetechnology.com>.
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.