[ https://issues.apache.org/jira/browse/LUCENE-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760067#action_12760067 ]
Mark Miller commented on LUCENE-1929: ------------------------------------- I realize the difficulties - I wasn't blaming you for the problem - but it is/was a problem. We deprecated getTerm() because of the problem (I think I did it? Don't remember though). However, unless it was documented to return null, just deprecating it doesn't really fix things. Code thats trying to use it on the base MultiTermQuery isn't going to be checking if its null unless its documented as such. I agree its screwed and it will be nice when its gone. Like I said, its a moot point. But I'll argue any point, moot or not ;) > 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