--- On Thu, 5/5/11, Marc SCHNEIDER wrote:
> From: Marc SCHNEIDER
> Subject: Format date before indexing it
> To: "solr-user"
> Date: Thursday, May 5, 2011, 12:51 PM
> Hi,
>
> I have to index records that have fields containing date.
> This date can b
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