Hi,

I have to index records that have fields containing date.
This date can be : "2011", "2011-05", "2015-05-01". Trailing characters also
can be slashes.
I'd like to convert theses values into a valid date for Solr.

So my question is : what is the best way to achieve this?
1) Use solr.DateField and make my own filter to that I get the date in the
right format
2) Subclass solr.DateField ?

Thanks in advance,
Marc.

Reply via email to