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 solr2020 <ps...@gmail.com> on 2014/02/28 00:12:43 UTC

Date field indexing in Solr

Hi,

We are using 'solr.TrieDateField' type for indexing a date column in Solr.
By default triedate will index date columns as UTC format. But we need the
date as it is in the source(DB table) with time associated with that date.
Do we need to use DateFormatTransformer to get the right date format.

Thanks.





--
View this message in context: http://lucene.472066.n3.nabble.com/Date-field-indexing-in-Solr-tp4120281.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Date field indexing in Solr

Posted by Erick Erickson <er...@gmail.com>.
Yep. One alternative is something I just found out about;

ParseDateFieldUpdateProcessorFactory


Best,

Erick


On Thu, Feb 27, 2014 at 3:12 PM, solr2020 <ps...@gmail.com> wrote:

> Hi,
>
> We are using 'solr.TrieDateField' type for indexing a date column in Solr.
> By default triedate will index date columns as UTC format. But we need the
> date as it is in the source(DB table) with time associated with that date.
> Do we need to use DateFormatTransformer to get the right date format.
>
> Thanks.
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Date-field-indexing-in-Solr-tp4120281.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>