Lucene - Core
  1. Lucene - Core
  2. LUCENE-2949

FastVectorHighlighter FieldTermStack could likely benefit from using TermVectorMapper

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

      1. LUCENE-2949.patch
        3 kB
        Koji Sekiguchi

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development