lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: NumericRange Field and LuceneUtils?
Date Fri, 11 Sep 2009 19:12:43 GMT
Sounds right... but this LuceneUtils class isn't part of Lucene is it?

-Yonik
http://www.lucidimagination.com



On Fri, Sep 11, 2009 at 3:01 PM, Daniel Shane <shaned@lexum.umontreal.ca> wrote:
> Is it normal that LuceneUtils.getString(Document document, String fieldName)
> uses document.getField() in the background?
>
> If, for example, you indexed something using the new NumericRange field,
> then you will get a class cast exception in there.
>
> Would it not be better to call getFieldable() instead of getField()?
>
> Daniel Shane

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


Mime
View raw message