[ 
https://issues.apache.org/jira/browse/LUCENE-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir resolved LUCENE-4289.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.6.2
                   5.0
                   4.0

I backported too. Note in 3.6 fast-vector-highlighter is unaffected, 
it doesn't compute IDF.
                
> 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
>             Fix For: 4.0, 5.0, 3.6.2
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to