Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
Attachments
Issue Links
- depends upon
-
LUCENE-6423 New LimitTokenOffsetFilter
- Closed
- is related to
-
LUCENE-6445 Highlighter TokenSources simplification; just one getAnyTokenStream()
- Closed