TermEnum.docFreq() is not updated with there are deletes
--------------------------------------------------------

                 Key: LUCENE-1613
                 URL: https://issues.apache.org/jira/browse/LUCENE-1613
             Project: Lucene - Java
          Issue Type: Bug
          Components: Search
    Affects Versions: 2.4
            Reporter: John Wang


TermEnum.docFreq is used in many places, especially scoring. However, if there 
are deletes in the index and it is not yet merged, this value is not updated.

Attached is a test case.

-- 
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