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.
|
org.apache.lucene.util.fst |
Misc FST classes.
|
Modifier and Type | Method and Description |
---|---|
CharsRef |
SynonymMap.Parser.analyze(String text,
CharsRef reuse)
Sugar: analyzes the text with the analyzer and
separates by
SynonymMap.WORD_SEPARATOR . |
static CharsRef |
SynonymMap.Builder.join(String[] words,
CharsRef reuse)
Sugar: just joins the provided terms with
SynonymMap.WORD_SEPARATOR . |
Modifier and Type | Method and Description |
---|---|
void |
SynonymMap.Builder.add(CharsRef input,
CharsRef output,
boolean includeOrig)
Add a phrase->phrase synonym mapping.
|
CharsRef |
SynonymMap.Parser.analyze(String text,
CharsRef reuse)
Sugar: analyzes the text with the analyzer and
separates by
SynonymMap.WORD_SEPARATOR . |
static CharsRef |
SynonymMap.Builder.join(String[] words,
CharsRef reuse)
Sugar: just joins the provided terms with
SynonymMap.WORD_SEPARATOR . |
Modifier and Type | Field and Description |
---|---|
protected CharsRef |
DocTermsIndexDocValues.spareChars |
Modifier and Type | Method and Description |
---|---|
protected Collection<DirectSpellChecker.ScoreTerm> |
DirectSpellChecker.suggestSimilar(Term term,
int numSug,
IndexReader ir,
int docfreq,
int editDistance,
float accuracy,
CharsRef spare)
Provide spelling corrections based on several parameters.
|
Modifier and Type | Method and Description |
---|---|
CharsRef |
CharsRef.clone()
Returns a shallow clone of this instance (the underlying characters are
not copied and will be shared by both the returned object and this
object.
|
static CharsRef |
CharsRef.deepCopyOf(CharsRef other)
Creates a new CharsRef that points to a copy of the chars from
other |
Modifier and Type | Method and Description |
---|---|
static Comparator<CharsRef> |
CharsRef.getUTF16SortedAsUTF8Comparator()
Deprecated.
This comparator is only a transition mechanism
|
Modifier and Type | Method and Description |
---|---|
boolean |
CharsRef.charsEquals(CharsRef other) |
int |
CharsRef.compareTo(CharsRef other)
Signed int order comparison
|
void |
CharsRef.copyChars(CharsRef other)
Copies the given
CharsRef referenced content into this instance. |
static CharsRef |
CharsRef.deepCopyOf(CharsRef other)
Creates a new CharsRef that points to a copy of the chars from
other |
static void |
UnicodeUtil.UTF8toUTF16(byte[] utf8,
int offset,
int length,
CharsRef chars)
Interprets the given byte array as UTF-8 and converts to UTF-16.
|
static void |
UnicodeUtil.UTF8toUTF16(BytesRef bytesRef,
CharsRef chars)
Utility method for
UnicodeUtil.UTF8toUTF16(byte[], int, int, CharsRef) |
Modifier and Type | Method and Description |
---|---|
CharsRef |
CharSequenceOutputs.add(CharsRef prefix,
CharsRef output) |
CharsRef |
CharSequenceOutputs.common(CharsRef output1,
CharsRef output2) |
CharsRef |
CharSequenceOutputs.getNoOutput() |
CharsRef |
CharSequenceOutputs.read(DataInput in) |
CharsRef |
CharSequenceOutputs.subtract(CharsRef output,
CharsRef inc) |
Modifier and Type | Method and Description |
---|---|
CharsRef |
CharSequenceOutputs.add(CharsRef prefix,
CharsRef output) |
CharsRef |
CharSequenceOutputs.common(CharsRef output1,
CharsRef output2) |
String |
CharSequenceOutputs.outputToString(CharsRef output) |
CharsRef |
CharSequenceOutputs.subtract(CharsRef output,
CharsRef inc) |
void |
CharSequenceOutputs.write(CharsRef prefix,
DataOutput out) |
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.