Package | Description |
---|---|
org.apache.lucene.codecs.uniformsplit |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.uniformsplit.sharedterms |
Pluggable term index / block terms dictionary implementations.
|
Modifier and Type | Class and Description |
---|---|
static class |
FSTDictionary.Builder
Builds an immutable
FSTDictionary . |
Modifier and Type | Method and Description |
---|---|
protected void |
BlockWriter.addBlockKey(List<BlockLine> blockLines,
IndexDictionary.Builder dictionaryBuilder)
Adds a new block key with its corresponding block file pointer to the
IndexDictionary.Builder . |
protected void |
BlockWriter.addLine(BytesRef term,
BlockTermState blockTermState,
IndexDictionary.Builder dictionaryBuilder)
Adds a new
BlockLine term for the current field. |
protected void |
BlockWriter.finishLastBlock(IndexDictionary.Builder dictionaryBuilder)
This method is called when there is no more term for the field.
|
protected void |
BlockWriter.splitAndWriteBlock(IndexDictionary.Builder dictionaryBuilder)
Defines the new block start according to
BlockWriter.targetNumBlockLines
and BlockWriter.deltaNumLines . |
protected void |
BlockWriter.writeBlock(List<BlockLine> blockLines,
IndexDictionary.Builder dictionaryBuilder)
Writes a block and adds its block key to the dictionary builder.
|
protected void |
UniformSplitTermsWriter.writeDictionary(IndexDictionary.Builder dictionaryBuilder)
Writes the dictionary index (FST) to disk.
|
Modifier and Type | Method and Description |
---|---|
void |
STBlockWriter.addLine(BytesRef term,
List<FieldMetadataTermState> termStates,
IndexDictionary.Builder dictionaryBuilder)
Adds a new
BlockLine term for the current field. |
protected void |
STBlockWriter.finishLastBlock(IndexDictionary.Builder dictionaryBuilder) |
protected void |
STUniformSplitTermsWriter.writeDictionary(int fieldsNumber,
IndexDictionary.Builder dictionaryBuilder) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.