Package | Description |
---|---|
org.apache.lucene.analysis.hunspell |
Stemming TokenFilter using a Java implementation of the
Hunspell stemming algorithm.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
|
org.apache.lucene.codecs.uniformsplit |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.util.fst |
Finite state transducers
|
Modifier and Type | Method and Description |
---|---|
private void |
Dictionary.readDictionaryFiles(Directory tempDir,
java.lang.String tempFileNamePrefix,
java.util.List<java.io.InputStream> dictionaries,
java.nio.charset.CharsetDecoder decoder,
Builder<IntsRef> words)
Reads the dictionary file through the provided InputStreams, building up the words map
|
Modifier and Type | Field and Description |
---|---|
private Builder<java.lang.Long> |
VariableGapTermsIndexWriter.FSTFieldWriter.fstBuilder |
Modifier and Type | Method and Description |
---|---|
private void |
BlockTreeTermsWriter.PendingBlock.append(Builder<BytesRef> builder,
FST<BytesRef> subIndex,
IntsRefBuilder scratchIntsRef) |
Modifier and Type | Method and Description |
---|---|
private void |
OrdsBlockTreeTermsWriter.PendingBlock.append(Builder<FSTOrdsOutputs.Output> builder,
FST<FSTOrdsOutputs.Output> subIndex,
long termOrdOffset,
IntsRefBuilder scratchIntsRef) |
Modifier and Type | Method and Description |
---|---|
private void |
VersionBlockTreeTermsWriter.PendingBlock.append(Builder<PairOutputs.Pair<BytesRef,java.lang.Long>> builder,
FST<PairOutputs.Pair<BytesRef,java.lang.Long>> subIndex,
IntsRefBuilder scratchIntsRef) |
Modifier and Type | Field and Description |
---|---|
private Builder<java.lang.Long> |
FSTOrdTermsWriter.TermsWriter.builder |
private Builder<FSTTermOutputs.TermData> |
FSTTermsWriter.TermsWriter.builder |
Modifier and Type | Field and Description |
---|---|
protected Builder<java.lang.Long> |
FSTDictionary.Builder.fstBuilder |
Modifier and Type | Field and Description |
---|---|
private Builder<PairOutputs.Pair<java.lang.Long,BytesRef>> |
NRTSuggesterBuilder.builder |
Modifier and Type | Field and Description |
---|---|
(package private) Builder<T> |
Builder.UnCompiledNode.owner |
Modifier and Type | Method and Description |
---|---|
Builder<T> |
Builder.setDirectAddressingMaxOversizingFactor(float factor)
Overrides the default the maximum oversizing of fixed array allowed to enable direct addressing
of arcs instead of binary search.
|
Modifier and Type | Method and Description |
---|---|
long |
NodeHash.add(Builder<T> builder,
Builder.UnCompiledNode<T> nodeIn) |
(package private) long |
FST.addNode(Builder<T> builder,
Builder.UnCompiledNode<T> nodeIn) |
private boolean |
FST.shouldExpandNodeWithDirectAddressing(Builder<T> builder,
Builder.UnCompiledNode<T> nodeIn,
int numBytesPerArc,
int maxBytesPerArcWithoutLabel,
int labelRange)
Returns whether the given node should be expanded with direct addressing instead of binary search.
|
private boolean |
FST.shouldExpandNodeWithFixedLengthArcs(Builder<T> builder,
Builder.UnCompiledNode<T> node)
Returns whether the given node should be expanded with fixed length arcs.
|
private void |
FST.writeNodeForBinarySearch(Builder<T> builder,
Builder.UnCompiledNode<T> nodeIn,
long startAddress,
int maxBytesPerArc) |
private void |
FST.writeNodeForDirectAddressing(Builder<T> builder,
Builder.UnCompiledNode<T> nodeIn,
long startAddress,
int maxBytesPerArcWithoutLabel,
int labelRange) |
private void |
FST.writePresenceBits(Builder<T> builder,
Builder.UnCompiledNode<T> nodeIn,
long dest,
int numPresenceBytes) |
Constructor and Description |
---|
UnCompiledNode(Builder<T> owner,
int depth) |