Hi David,

I think you meant RegexTransformer instead of NumberFormatTransformer.
Anyhow, the order in which the transformers are applied is the same as the
order in which you specify them.

So make sure your entity has
transformers="RegexTransformer,DateFormatTransformer".

On Thu, Oct 16, 2008 at 6:14 PM, David Smiley @MITRE.org
<[EMAIL PROTECTED]>wrote:

>
> I'm trying out the dataimport capability.  I have a column that is a series
> of dates separated by spaces like so:
> "1996-00-00 1996-04-00"
> And I'm trying to import it like so:
> <field column="r_event_date" splitBy=" " dateTimeFormat="yyyy-MM-dd" />
>
> However this fails and the stack trace suggests it is first trying to apply
> the dateTimeFormat before splitBy.  I think this is a bug... dataimport
> should apply DateFormatTransformer and NumberFormatTransformer last.
>
> ~ David Smiley
> --
> View this message in context:
> http://www.nabble.com/dataimport%2C-both-splitBy-and-dateTimeFormat-tp20013006p20013006.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to