Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
It would be nice to have a token filter that limited based on the offset. I suggest the start offset. It should be named LimitTokenOffsetFilter to have a name similar to the other LimitToken*Filter choices, including a "consumeAllTokens" option. I plan to use this filter in LUCENE-6392 (to limit tokens from analyzed text for applicable methods in TokenSources) and in LUCENE-6375.
Attachments
Attachments
Issue Links
- is depended upon by
-
LUCENE-6375 Inconsistent interpretation of maxDocCharsToAnalyze in Highlighter & WeightedSpanTermExtractor
- Open
-
LUCENE-6392 Add offset limit to Highlighter's TokenStreamFromTermVector
- Closed
- relates to
-
LUCENE-6445 Highlighter TokenSources simplification; just one getAnyTokenStream()
- Closed