public abstract class AnalysisOffsetStrategy extends FieldOffsetStrategy
Modifier and Type | Field and Description |
---|---|
protected Analyzer |
analyzer |
components
Constructor and Description |
---|
AnalysisOffsetStrategy(UHComponents components,
Analyzer analyzer) |
Modifier and Type | Method and Description |
---|---|
UnifiedHighlighter.OffsetSource |
getOffsetSource() |
protected TokenStream |
tokenStream(String content) |
createOffsetsEnumFromReader, createOffsetsEnumsForAutomata, createOffsetsEnumsForTerms, createOffsetsEnumsWeightMatcher, getField, getOffsetsEnum
protected final Analyzer analyzer
public AnalysisOffsetStrategy(UHComponents components, Analyzer analyzer)
public final UnifiedHighlighter.OffsetSource getOffsetSource()
getOffsetSource
in class FieldOffsetStrategy
protected TokenStream tokenStream(String content) throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.