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

highlighter idf calculation problems

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-BETA, 3.6.2, 6.0
    • None
    • None
    • New

    Description

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

      Attachments

        1. LUCENE-4289.patch
          4 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: