Package | Description |
---|---|
org.apache.lucene.analysis.synonym |
Analysis components for Synonyms.
|
org.apache.lucene.queries.function.docvalues |
FunctionValues for different data types.
|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
CharsRef |
SynonymMap.Parser.analyze(java.lang.String text,
CharsRefBuilder reuse)
Sugar: analyzes the text with the analyzer and
separates by
SynonymMap.WORD_SEPARATOR . |
static CharsRef |
SynonymMap.Builder.join(java.lang.String[] words,
CharsRefBuilder reuse)
Sugar: just joins the provided terms with
SynonymMap.WORD_SEPARATOR . |
Modifier and Type | Field and Description |
---|---|
protected CharsRefBuilder |
DocTermsIndexDocValues.spareChars |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<DirectSpellChecker.ScoreTerm> |
DirectSpellChecker.suggestSimilar(Term term,
int numSug,
IndexReader ir,
int docfreq,
int editDistance,
float accuracy,
CharsRefBuilder spare)
Provide spelling corrections based on several parameters.
|
Modifier and Type | Method and Description |
---|---|
CharsRefBuilder |
CharsRefBuilder.append(char c) |
CharsRefBuilder |
CharsRefBuilder.append(java.lang.CharSequence csq) |
CharsRefBuilder |
CharsRefBuilder.append(java.lang.CharSequence csq,
int start,
int end) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.