Re: How to set up the schema to avoid NumberFormatException

2011-09-20 Thread Pulkit Singhal
Hi Hoss, Thanks for the input! Something rather strange happened. I fixed my regex such that instead of returning just 1,000 ... it would return 1,000.00 and voila it worked! So Parsing group separators is already supported apparently then ... its just that the format is also looking for a

How to set up the schema to avoid NumberFormatException

2011-09-16 Thread Pulkit Singhal
Hello Folks, Surprisingly, the value from the following raw data gives me a NFE (Number Format Exception) when running the DIH (Data Import Handler): span class=tgProductPrice$1,000.00/span The error logs look like: Caused by: org.apache.solr.common.SolrException: Error while creating field

Re: How to set up the schema to avoid NumberFormatException

2011-09-16 Thread Chris Hostetter
: It is pretty obvious from this that the sdouble schema fieldtype is : not setup to parse out group-separators from a number. correct. the numeric (and date) field types are all designed to deal with conversion of the canonical string represetantion. : 1) Then my question is which type pf