Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 17617 invoked from network); 11 Sep 2009 20:55:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 20:55:01 -0000 Received: (qmail 66494 invoked by uid 500); 11 Sep 2009 20:55:00 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 66417 invoked by uid 500); 11 Sep 2009 20:55:00 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 66409 invoked by uid 99); 11 Sep 2009 20:55:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 20:55:00 +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: domain of yseeley@gmail.com designates 209.85.219.228 as permitted sender) Received: from [209.85.219.228] (HELO mail-ew0-f228.google.com) (209.85.219.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 20:54:49 +0000 Received: by ewy28 with SMTP id 28so1463060ewy.28 for ; Fri, 11 Sep 2009 13:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+FkxtGt3sL/xVHwSW9lbrQMuADpFHnqfxFGf5DOaxaY=; b=MPWdJWyrZZEmrHQmmk04I9EdGS2q7wtpaVpvybMwhC/g3RPzGR2JNz57OFRTOA+2dc MjinwZoN/BGBuTCCam5ol747xQFyt8G5Scy84xW0SRdOp2aUToTF+8IN0TRiWPsw9V3q ha4oi4JVwvB2Dganc+tXYXGco4bXzlzltb5Rk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=h9JJwL/6fd/zc8ewfwe7SRzLIfW14iDNgHhpUoPM8s/v60STrCsWVSOAQUgjKSOOjl ZlYfELiFcsvL+zG2SwW9ynm24j9Np3rsFQlHG/eR/QtRdIWbYZIORboBrR4odtM2KoW9 dEpVhnbPcBaTQ3fyChaXbNS0qgj+zJIXgkFKk= MIME-Version: 1.0 Received: by 10.216.90.67 with SMTP id d45mr812096wef.42.1252702468812; Fri, 11 Sep 2009 13:54:28 -0700 (PDT) In-Reply-To: References: <9ac0c6aa0909111132s69804fa5vbf5590ea6181ef7a@mail.gmail.com> <4AAA9E83.6090202@lexum.umontreal.ca> <6869825E6B56402F8FFB1EF79BEDD02C@VEGA> Date: Fri, 11 Sep 2009 16:54:28 -0400 Message-ID: Subject: Re: NumericRange Field and LuceneUtils? From: Yonik Seeley To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Sep 11, 2009 at 4:45 PM, Uwe Schindler wrote: > By the way: This is documented: > http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/core/org/apac > he/lucene/document/NumericField.html > > NOTE: This class is only used during indexing. When retrieving the stored > field value from a Document instance after search, you will get a > conventional Fieldable instance where the numeric values are returned as > Strings (according to toString(value) of the used data type). > > (this o.a.l.document.Fieldable is always a o.a.l.document.Field) Lazy loading could return a different implementation. Even w/o lazy loading, we're also not going to guarantee that a Fieldable is always a Field, right? Perhaps those methods returning a Field should be deprecated sometime. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org