Re: NumberFormatException when creating field cache

2009-09-15 Thread Chris Hostetter
: Would it be useful to allow some sort of data tolerance when creating these : caches? At least now the only solution is to delete that Document. Perhaps : the values could then be returned as 0 in the Parser implementations for : numeric failures. picking an artibtrary number wouldn't be very

Re: NumberFormatException when creating field cache

2009-09-09 Thread Mark Miller
Antony Bowesman wrote: > I'm using Lucene 2.3.2 and have a date field used for sorting, which > is MMDDHHMM. I get an exception when the FieldCache is being > generated as follows: > > java.lang.NumberFormatException: For input string: "190400-412317" > java.lang.NumberFormatException.forInput

NumberFormatException when creating field cache

2009-09-09 Thread Antony Bowesman
I'm using Lucene 2.3.2 and have a date field used for sorting, which is MMDDHHMM. I get an exception when the FieldCache is being generated as follows: java.lang.NumberFormatException: For input string: "190400-412317" java.lang.NumberFormatException.forInputString(NumberFormatException.jav