Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-BETA, 3.6.2, 5.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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)

        Activity

        Hide
        Koji Sekiguchi added a comment -

        +1. Thanks, Robert.

        Show
        Koji Sekiguchi added a comment - +1. Thanks, Robert.
        Hide
        Uwe Schindler added a comment -

        Too funny, +1 to fix. Backport?

        Show
        Uwe Schindler added a comment - Too funny, +1 to fix. Backport?
        Hide
        Robert Muir added a comment -

        I backported too. Note in 3.6 fast-vector-highlighter is unaffected,
        it doesn't compute IDF.

        Show
        Robert Muir added a comment - I backported too. Note in 3.6 fast-vector-highlighter is unaffected, it doesn't compute IDF.
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development