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

FastVectorHighlighter FieldTermStack could likely benefit from using TermVectorMapper

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.3, 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: 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

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

              Dates

              • Created:
                Updated:
                Resolved: