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(java.lang.String content) |
createOffsetsEnumFromReader, createOffsetsEnumsForAutomata, createOffsetsEnumsForTerms, createOffsetsEnumsWeightMatcher, getField, getOffsetsEnumprotected final Analyzer analyzer
public AnalysisOffsetStrategy(UHComponents components, Analyzer analyzer)
public final UnifiedHighlighter.OffsetSource getOffsetSource()
getOffsetSource in class FieldOffsetStrategyprotected TokenStream tokenStream(java.lang.String content) throws java.io.IOException
java.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.