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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to