The "parse date" update processor can be used to parse dates in a number of formats (configurable) and convert to a Java date value:
http://lucene.apache.org/solr/4_8_1/solr-core/org/apache/solr/update/processor/ParseDateFieldUpdateProcessorFactory.html

You could copy the field to another field to keep it as text.

You can also use your own update processor to convert to some other text format. See the stateless script update processor to write a simple JavaScript script.

-- Jack Krupansky

-----Original Message----- From: O. Klein
Sent: Friday, June 6, 2014 4:32 AM
To: solr-user@lucene.apache.org
Subject: Date number to text

Is there a way to tokenize 12-6-2014 as 12 june 2014 and the other way around
as well?

Making it possible for people to search on text and numbers for dates?



--
View this message in context: http://lucene.472066.n3.nabble.com/Date-number-to-text-tp4140323.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to