Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 75894 invoked from network); 15 Sep 2009 17:30:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 17:30:20 -0000 Received: (qmail 54033 invoked by uid 500); 15 Sep 2009 17:30:18 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 53954 invoked by uid 500); 15 Sep 2009 17:30:18 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 53944 invoked by uid 99); 15 Sep 2009 17:30:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 17:30:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 17:30:08 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id 6AE7671C5AA; Tue, 15 Sep 2009 10:29:17 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id 6783571C545 for ; Tue, 15 Sep 2009 10:29:17 -0700 (PDT) Date: Tue, 15 Sep 2009 10:29:17 -0700 (PDT) From: Chris Hostetter To: Lucene User Subject: Re: NumberFormatException when creating field cache In-Reply-To: <4AA871A8.3070307@teamware.com> Message-ID: References: <4AA871A8.3070307@teamware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : 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