Package | Description |
---|---|
org.apache.lucene.analysis.synonym |
Analysis components for Synonyms.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
org.apache.lucene.util.fst |
Finite state transducers
|
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 | Method and Description |
---|---|
void |
SynonymMap.Builder.add(CharsRef input,
CharsRef output,
boolean includeOrig)
Add a phrase->phrase synonym mapping.
|
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 |
CharsRef |
CharsRefBuilder.get()
Return a
CharsRef that points to the internal content of this
builder. |
CharsRef |
CharsRefBuilder.toCharsRef()
Build a new
CharsRef that has the same content as this builder. |
Modifier and Type | Method and Description |
---|---|
static java.util.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 |
CharsRefBuilder.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 |
Modifier and Type | Method and Description |
---|---|
void |
DaciukMihovAutomatonBuilder.add(CharsRef current)
Add another character sequence to this automaton.
|
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) |
java.lang.String |
CharSequenceOutputs.outputToString(CharsRef output) |
long |
CharSequenceOutputs.ramBytesUsed(CharsRef output) |
CharsRef |
CharSequenceOutputs.subtract(CharsRef output,
CharsRef inc) |
void |
CharSequenceOutputs.write(CharsRef prefix,
DataOutput out) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.