Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1613

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4
    • None
    • core/search
    • None
    • New

    Description

      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.

      Attachments

        1. TestDeleteAndDocFreq.java
          2 kB
          John Wang

        Activity

          People

            Unassigned Unassigned
            john.wang@gmail.com John Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment