[ 
https://issues.apache.org/jira/browse/LUCENE-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760066#action_12760066
 ] 

Uwe Schindler commented on LUCENE-1929:
---------------------------------------

bq. In fact, its probably wrong - but at this point its a moot point.

It can only return a "pattern term" if there is one. What is the pattern term 
for TermRangeQuery or NumericRangeQuery. Both return null and that is fine (and 
not a backwards break, as both classes are new in 2.9). That was exactly the 
discussion behind removing the getTerm() stuff from MTQ.

Solr could maybe remove the NRQ from the highligter query.

> Highlighter doesn't support NumericQuery
> ----------------------------------------
>
>                 Key: LUCENE-1929
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1929
>             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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to