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

Using the WeightedTerms option in the Highlighter can cause fragments to be supressed for indexes with deletes

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • modules/highlighter
    • None
    • New, Patch Available

    Description

      An index with a few documents and many deletes can report a lower total docs than docFreq for a term - total docs will account for deletes while docFreq will not - this causes the idf to be negative and the fragment to score < 0.

      Attachments

        1. LUCENE-1355.patch
          6 kB
          Mark Miller

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              markrmiller@gmail.com Mark Miller
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: