[ https://issues.apache.org/jira/browse/SOLR-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621665#action_12621665 ]
Mark Miller commented on SOLR-517: ---------------------------------- I'd be happy to fix this in the Lucene Highlighter, but what is actually going on to get a negative? By the look of it, I don't see possible values that could create a negative result - even if you allowed for negative inputs, you could still only get positives, NAN, or Infinity. Can you elaborate or make a test case? Also, it doesn't appear helpful to use the IndexReader method unless you want to use those scores for other things (gradient highlighting etc). If you count on that, it can't be changed, if you don't it should be changed. > highlighter doesn't work with hl.requireFieldMatch=true on un-optimized index > ----------------------------------------------------------------------------- > > Key: SOLR-517 > URL: https://issues.apache.org/jira/browse/SOLR-517 > Project: Solr > Issue Type: Bug > Components: highlighter > Affects Versions: 1.2, 1.3 > Reporter: Koji Sekiguchi > Priority: Minor > Attachments: SOLR-517.patch, SOLR-517.patch, SOLR-517.patch > > > On un-optimized index, highlighter doesn't work with > hl.requireFieldMatch=true. > see: > http://www.nabble.com/hl.requireFieldMatch-and-idf-td16324482.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.