On Fri, Dec 25, 2009 at 11:56 AM, Chris Hostetter
<hossman_luc...@fucit.org>wrote:

>
> : when posting a CSV-file via curl to Solr, I´d like to convert a row with
> the
> : date format „30.12.2009“ (dd.mm.yyyy) into the date format accepted by
> Solr.
> : Is this possible?
>
> not with the CSVUpdateHandler (the simple way of ingestinga CSV file) but
> I believe DataImportHandler can be configured to read from CSV files (not
> certain) nd it has a DateTransformer that can do that.
>
>
Yup, one can use a LineEntityProcessor with a RegexTransformer and
DateFormatTransformer to do that.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to