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

FastVectorHighlighter FieldTermStack could likely benefit from using TermVectorMapper

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.0.3, 4.0-ALPHA
    • None
    • None

    Description

      Based on my reading of the FieldTermStack constructor that loads the vector from disk, we could probably save a bunch of time and memory by using the TermVectorMapper callback mechanism instead of materializing the full array of terms into memory and then throwing most of them out.

      Attachments

        1. LUCENE-2949.patch
          3 kB
          Koji Sekiguchi

        Activity

          People

            Unassigned Unassigned
            gsingers Grant Ingersoll
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: