lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: NumericRange Field and LuceneUtils?
Date Fri, 11 Sep 2009 20:54:28 GMT
On Fri, Sep 11, 2009 at 4:45 PM, Uwe Schindler <> wrote:
> By the way: This is documented:
> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message