lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] Commented: (LUCENE-1929) Highlighter doesn't support NumericQuery
Date Sun, 27 Sep 2009 17:09:15 GMT


Mark Miller commented on LUCENE-1929:

Yeah - eventually (as in when getTerm() is removed), the Highlighter was going to have to
deal with that anyway. Deprecated methods should still work though - so whether return null
from getTerm is right or wrong, I dunno.

But thats the issue - except for TermRangeQuery, the Highlighter looks for the Field by calling
getTerm and asking for the field - made the exception for TermRangeQuery, but not NumericRangeQuery
- so it throw a nullpointer exception. Easy to sidestep in Lucene, more of a pain in Solr
(as the plan is to release with 2.9.0)

> Highlighter doesn't support NumericQuery
> ----------------------------------------
>                 Key: LUCENE-1929
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Mark Miller
>            Assignee: Mark Miller
> Sucks. Will throw a NullPointer exception. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message