Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Field and Description |
---|---|
static CharacterRunAutomaton |
MockTokenFilter.EMPTY_STOPSET
Empty set of stopwords
|
static CharacterRunAutomaton |
MockTokenFilter.ENGLISH_STOPSET
Set of common english stopwords
|
static CharacterRunAutomaton |
MockTokenizer.KEYWORD
Acts Similar to KeywordTokenizer.
|
static CharacterRunAutomaton |
MockTokenizer.SIMPLE
Acts like LetterTokenizer.
|
static CharacterRunAutomaton |
MockTokenizer.WHITESPACE
Acts Similar to WhitespaceTokenizer
|
Constructor and Description |
---|
MockAnalyzer(java.util.Random random,
CharacterRunAutomaton runAutomaton,
boolean lowerCase)
|
MockAnalyzer(java.util.Random random,
CharacterRunAutomaton runAutomaton,
boolean lowerCase,
CharacterRunAutomaton filter)
Creates a new MockAnalyzer.
|
MockTokenFilter(TokenStream input,
CharacterRunAutomaton filter)
Create a new MockTokenFilter.
|
MockTokenizer(AttributeFactory factory,
CharacterRunAutomaton runAutomaton,
boolean lowerCase) |
MockTokenizer(AttributeFactory factory,
CharacterRunAutomaton runAutomaton,
boolean lowerCase,
int maxTokenLength) |
MockTokenizer(CharacterRunAutomaton runAutomaton,
boolean lowerCase) |
MockTokenizer(CharacterRunAutomaton runAutomaton,
boolean lowerCase,
int maxTokenLength) |
Modifier and Type | Field and Description |
---|---|
protected static CharacterRunAutomaton[] |
UnifiedHighlighter.ZERO_LEN_AUTOMATA_ARRAY |
Modifier and Type | Method and Description |
---|---|
CharacterRunAutomaton[] |
UHComponents.getAutomata() |
protected CharacterRunAutomaton[] |
UnifiedHighlighter.getAutomata(java.lang.String field,
Query query,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Modifier and Type | Method and Description |
---|---|
protected UnifiedHighlighter.OffsetSource |
UnifiedHighlighter.getOptimizedOffsetSource(java.lang.String field,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata) |
Constructor and Description |
---|
UHComponents(java.lang.String field,
java.util.function.Predicate<java.lang.String> fieldMatcher,
Query query,
BytesRef[] terms,
PhraseHelper phraseHelper,
CharacterRunAutomaton[] automata,
java.util.Set<UnifiedHighlighter.HighlightFlag> highlightFlags) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.