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

Add offset limit to Highlighter's TokenStreamFromTermVector

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2
    • modules/highlighter
    • None
    • New, Patch Available

    Description

      The Highlighter's TokenStreamFromTermVector utility, typically accessed via TokenSources, should have the ability to filter out tokens beyond a configured offset. There is a TODO there already, and this issue addresses it. New methods in TokenSources now propagate a limit.

      This patch also includes some memory saving optimizations, to be described shortly.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: