lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: NumberFormatException when creating field cache
Date Tue, 15 Sep 2009 17:29:17 GMT

: 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 general purpose.  it would 
hide errors.

clients that want more tollerant parsing behavior are free to provide 
their own parser...
http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/search/FieldCache.IntParser.html




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message