lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: date field type problem
Date Wed, 02 Sep 2009 17:17:40 GMT
: solr.DateField compatible format. I wrote a new <fieldType>
: definition inside the solrconfig.xml, which creates
: eg. 1991-01-01T00:00:01Z from the input '[c1991.]' string.

<analyzer> is only supported when the class of the <fieldType> is 
TextField ... it would be nice if it worked with any other field type (i 
think it would mainly just require removing an instanceof check somewhere) 
but since analyzers only work on the *indexed* value it wouldn't help with 
cleaning up the *stored* value.

At the moment, general data cleanup like this (that affects the stored 
and indexed value) can only be done using an UpdateProcessor.


View raw message