Robert Muir created LUCENE-4289:
-----------------------------------

             Summary: highlighter idf calculation problems
                 Key: LUCENE-4289
                 URL: https://issues.apache.org/jira/browse/LUCENE-4289
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir
         Attachments: LUCENE-4289.patch

* highlighter uses numDocs instead of maxDoc
* fastvectorhighlighter uses numDocs - numDeletedDocs instead of maxDoc (will 
go negative if more than half of docs are marked deleted)
* fastvectorhighlighter calls docFreq and computes IDF per-position when it 
won't change (inefficient)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to