Package | Description |
---|---|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Method and Description |
---|---|
UnifiedHighlighter.OffsetSource |
TermVectorOffsetStrategy.getOffsetSource() |
UnifiedHighlighter.OffsetSource |
PostingsWithTermVectorsOffsetStrategy.getOffsetSource() |
UnifiedHighlighter.OffsetSource |
PostingsOffsetStrategy.getOffsetSource() |
UnifiedHighlighter.OffsetSource |
NoOpOffsetStrategy.getOffsetSource() |
abstract UnifiedHighlighter.OffsetSource |
FieldOffsetStrategy.getOffsetSource() |
UnifiedHighlighter.OffsetSource |
FieldHighlighter.getOffsetSource() |
UnifiedHighlighter.OffsetSource |
AnalysisOffsetStrategy.getOffsetSource() |
protected UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.getOffsetSource(String field)
Determine the offset source for the specified field.
|
protected UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.getOptimizedOffsetSource(String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata) |
static UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.OffsetSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnifiedHighlighter.OffsetSource[] |
UnifiedHighlighter.OffsetSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected FieldOffsetStrategy |
UnifiedHighlighter.getOffsetStrategy(UnifiedHighlighter.OffsetSource offsetSource,
String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata,
Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.