Uses of Class
org.apache.lucene.index.SegmentWriteState
Packages that use SegmentWriteState
Package
Description
Lucene 5.0 file format.
Lucene 6.0 file format.
Components from the Lucene 7.0 index format.
Components from the Lucene 8.0 index format.
Lucene 8.4 file format.
Lucene 8.6 file format.
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.4 file format.
Lucene 9.5 file format.
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
Lucene 9.0 file format.
BlockTree terms dictionary.
Lucene 9.9 file format.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
Support for document suggestion
-
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type SegmentWriteState -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene60
Methods in org.apache.lucene.backward_codecs.lucene60 with parameters of type SegmentWriteState -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene70
Methods in org.apache.lucene.backward_codecs.lucene70 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene70DocValuesFormat.fieldsConsumer
(SegmentWriteState state) Lucene70NormsFormat.normsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.backward_codecs.lucene70 with parameters of type SegmentWriteStateModifierConstructorDescriptionLucene70DocValuesConsumer
(SegmentWriteState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) expert: Creates a new writer -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene80
Fields in org.apache.lucene.backward_codecs.lucene80 declared as SegmentWriteStateMethods in org.apache.lucene.backward_codecs.lucene80 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene80DocValuesFormat.fieldsConsumer
(SegmentWriteState state) Note: although this format is only used on older versions, we need to keep the write logic in addition to the read logic.Lucene80NormsFormat.normsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.backward_codecs.lucene80 with parameters of type SegmentWriteStateModifierConstructorDescriptionLucene80DocValuesConsumer
(SegmentWriteState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension, Lucene80DocValuesFormat.Mode mode) expert: Creates a new writer -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene84
Methods in org.apache.lucene.backward_codecs.lucene84 with parameters of type SegmentWriteState -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene86
Methods in org.apache.lucene.backward_codecs.lucene86 with parameters of type SegmentWriteState -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene90PostingsFormat.fieldsConsumer
(SegmentWriteState state) Lucene90HnswVectorsFormat.fieldsWriter
(SegmentWriteState state) void
Lucene90PostingsWriter.init
(IndexOutput termsOut, SegmentWriteState state) Constructors in org.apache.lucene.backward_codecs.lucene90 with parameters of type SegmentWriteStateModifierConstructorDescriptionCreates a postings writer -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene91
Methods in org.apache.lucene.backward_codecs.lucene91 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene91HnswVectorsFormat.fieldsWriter
(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene92
Methods in org.apache.lucene.backward_codecs.lucene92 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene92HnswVectorsFormat.fieldsWriter
(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene94
Methods in org.apache.lucene.backward_codecs.lucene94 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene94HnswVectorsFormat.fieldsWriter
(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.backward_codecs.lucene95
Methods in org.apache.lucene.backward_codecs.lucene95 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene95HnswVectorsFormat.fieldsWriter
(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionabstract DocValuesConsumer
DocValuesFormat.fieldsConsumer
(SegmentWriteState state) Returns aDocValuesConsumer
to write docvalues to the index.abstract FieldsConsumer
PostingsFormat.fieldsConsumer
(SegmentWriteState state) Writes a new segmentabstract FlatVectorsWriter
FlatVectorsFormat.fieldsWriter
(SegmentWriteState state) Returns aFlatVectorsWriter
to write the vectors to the index.abstract KnnVectorsWriter
KnnVectorsFormat.fieldsWriter
(SegmentWriteState state) Returns aKnnVectorsWriter
to write the vectors to the index.abstract PointsWriter
PointsFormat.fieldsWriter
(SegmentWriteState state) Writes a new segmentabstract void
PostingsWriterBase.init
(IndexOutput termsOut, SegmentWriteState state) Called once after startup, before any terms have been added.abstract NormsConsumer
NormsFormat.normsConsumer
(SegmentWriteState state) Returns aNormsConsumer
to write norms to the index. -
Uses of SegmentWriteState in org.apache.lucene.codecs.blockterms
Constructors in org.apache.lucene.codecs.blockterms with parameters of type SegmentWriteStateModifierConstructorDescriptionBlockTermsWriter
(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter) FixedGapTermsIndexWriter
(SegmentWriteState state, int termIndexInterval) VariableGapTermsIndexWriter
(SegmentWriteState state, VariableGapTermsIndexWriter.IndexTermSelector policy) -
Uses of SegmentWriteState in org.apache.lucene.codecs.blocktreeords
Methods in org.apache.lucene.codecs.blocktreeords with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionBlockTreeOrdsPostingsFormat.fieldsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type SegmentWriteStateModifierConstructorDescriptionOrdsBlockTreeTermsWriter
(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock) Create a new writer. -
Uses of SegmentWriteState in org.apache.lucene.codecs.bloom
Fields in org.apache.lucene.codecs.bloom declared as SegmentWriteStateModifier and TypeFieldDescriptionprivate SegmentWriteState
BloomFilteringPostingsFormat.BloomFilteredFieldsConsumer.state
Methods in org.apache.lucene.codecs.bloom with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionBloomFilteringPostingsFormat.fieldsConsumer
(SegmentWriteState state) abstract FuzzySet
BloomFilterFactory.getSetForField
(SegmentWriteState state, FieldInfo info) DefaultBloomFilterFactory.getSetForField
(SegmentWriteState state, FieldInfo info) Constructors in org.apache.lucene.codecs.bloom with parameters of type SegmentWriteStateModifierConstructorDescriptionBloomFilteredFieldsConsumer
(FieldsConsumer fieldsConsumer, SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene90
Fields in org.apache.lucene.codecs.lucene90 declared as SegmentWriteStateModifier and TypeFieldDescription(package private) final SegmentWriteState
Lucene90PointsWriter.writeState
Methods in org.apache.lucene.codecs.lucene90 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene90DocValuesFormat.fieldsConsumer
(SegmentWriteState state) Lucene90PointsFormat.fieldsWriter
(SegmentWriteState state) Lucene90NormsFormat.normsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.codecs.lucene90 with parameters of type SegmentWriteStateModifierConstructorDescriptionLucene90DocValuesConsumer
(SegmentWriteState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) expert: Creates a new writer(package private)
Lucene90NormsConsumer
(SegmentWriteState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) Lucene90PointsWriter
(SegmentWriteState writeState) Uses the defaults values formaxPointsInLeafNode
(512) andmaxMBSortInHeap
(16.0)Lucene90PointsWriter
(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) Full constructor -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene90.blocktree
Constructors in org.apache.lucene.codecs.lucene90.blocktree with parameters of type SegmentWriteStateModifierConstructorDescriptionLucene90BlockTreeTermsWriter
(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock) Create a new writer.Lucene90BlockTreeTermsWriter
(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock, int version) Expert constructor that allows configuring the version, used for bw tests. -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene99
Fields in org.apache.lucene.codecs.lucene99 declared as SegmentWriteStateModifier and TypeFieldDescriptionprivate final SegmentWriteState
Lucene99FlatVectorsWriter.segmentWriteState
private final SegmentWriteState
Lucene99HnswVectorsWriter.segmentWriteState
private final SegmentWriteState
Lucene99ScalarQuantizedVectorsWriter.segmentWriteState
Methods in org.apache.lucene.codecs.lucene99 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene99PostingsFormat.fieldsConsumer
(SegmentWriteState state) Lucene99FlatVectorsFormat.fieldsWriter
(SegmentWriteState state) Lucene99HnswScalarQuantizedVectorsFormat.fieldsWriter
(SegmentWriteState state) Lucene99HnswVectorsFormat.fieldsWriter
(SegmentWriteState state) Lucene99ScalarQuantizedVectorsFormat.fieldsWriter
(SegmentWriteState state) void
Lucene99PostingsWriter.init
(IndexOutput termsOut, SegmentWriteState state) Lucene99ScalarQuantizedVectorsWriter.mergeOneFieldToIndex
(SegmentWriteState segmentWriteState, FieldInfo fieldInfo, MergeState mergeState, ScalarQuantizer mergedQuantizationState) Constructors in org.apache.lucene.codecs.lucene99 with parameters of type SegmentWriteStateModifierConstructorDescription(package private)
(package private)
Lucene99HnswVectorsWriter
(SegmentWriteState state, int M, int beamWidth, FlatVectorsWriter flatVectorWriter, int numMergeWorkers, TaskExecutor mergeExec) Creates a postings writer(package private)
Lucene99ScalarQuantizedVectorsWriter
(SegmentWriteState state, Float confidenceInterval, FlatVectorsWriter rawVectorDelegate) -
Uses of SegmentWriteState in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionDirectPostingsFormat.fieldsConsumer
(SegmentWriteState state) FSTPostingsFormat.fieldsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.codecs.memory with parameters of type SegmentWriteStateModifierConstructorDescriptionFSTTermsWriter
(SegmentWriteState state, PostingsWriterBase postingsWriter) -
Uses of SegmentWriteState in org.apache.lucene.codecs.perfield
Fields in org.apache.lucene.codecs.perfield declared as SegmentWriteStateModifier and TypeFieldDescriptionprivate final SegmentWriteState
PerFieldDocValuesFormat.FieldsWriter.segmentWriteState
private final SegmentWriteState
PerFieldKnnVectorsFormat.FieldsWriter.segmentWriteState
(package private) final SegmentWriteState
PerFieldPostingsFormat.FieldsGroup.Builder.state
(package private) final SegmentWriteState
PerFieldPostingsFormat.FieldsGroup.state
Custom SegmentWriteState for this group of fields, with the segmentSuffix uniqueified for this PostingsFormat(package private) final SegmentWriteState
PerFieldPostingsFormat.FieldsWriter.writeState
Methods in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionfinal DocValuesConsumer
PerFieldDocValuesFormat.fieldsConsumer
(SegmentWriteState state) final FieldsConsumer
PerFieldPostingsFormat.fieldsConsumer
(SegmentWriteState state) PerFieldKnnVectorsFormat.fieldsWriter
(SegmentWriteState state) Constructors in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteStateModifierConstructorDescription(package private)
Builder
(int suffix, SegmentWriteState state) private
FieldsGroup
(List<String> fields, int suffix, SegmentWriteState state) FieldsWriter
(SegmentWriteState state) (package private)
FieldsWriter
(SegmentWriteState segmentWriteState) FieldsWriter
(SegmentWriteState writeState) -
Uses of SegmentWriteState in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as SegmentWriteStateModifier and TypeFieldDescriptionprivate final SegmentWriteState
SimpleTextFieldsWriter.writeState
(package private) final SegmentWriteState
SimpleTextPointsWriter.writeState
Methods in org.apache.lucene.codecs.simpletext with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionSimpleTextDocValuesFormat.fieldsConsumer
(SegmentWriteState state) SimpleTextPostingsFormat.fieldsConsumer
(SegmentWriteState state) SimpleTextKnnVectorsFormat.fieldsWriter
(SegmentWriteState state) SimpleTextPointsFormat.fieldsWriter
(SegmentWriteState state) SimpleTextNormsFormat.normsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.codecs.simpletext with parameters of type SegmentWriteStateModifierConstructorDescriptionSimpleTextDocValuesWriter
(SegmentWriteState state, String ext) SimpleTextFieldsWriter
(SegmentWriteState writeState) (package private)
SimpleTextPointsWriter
(SegmentWriteState writeState) (package private)
SimpleTextSkipWriter
(SegmentWriteState writeState) -
Uses of SegmentWriteState in org.apache.lucene.codecs.uniformsplit
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionprotected FieldsConsumer
UniformSplitPostingsFormat.createUniformSplitTermsWriter
(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder) UniformSplitPostingsFormat.fieldsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type SegmentWriteStateModifierConstructorDescriptionUniformSplitTermsWriter
(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder) protected
UniformSplitTermsWriter
(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder, FieldMetadata.Serializer fieldMetadataWriter, String codecName, int versionCurrent, String termsBlocksExtension, String dictionaryExtension) UniformSplitTermsWriter
(PostingsWriterBase postingsWriter, SegmentWriteState state, BlockEncoder blockEncoder) -
Uses of SegmentWriteState in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionprivate void
FreqProxTermsWriter.applyDeletes
(SegmentWriteState state, Fields fields) void
BinaryDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) abstract void
DocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer consumer) void
FreqProxTermsWriter.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) Sorter.DocMap
IndexingChain.flush
(SegmentWriteState state) void
NormValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, NormsConsumer normsConsumer) void
NumericDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) void
PointValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, PointsWriter writer) void
SortedDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) void
SortedNumericDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) void
SortedSetDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) void
SortingStoredFieldsConsumer.flush
(SegmentWriteState state, Sorter.DocMap sortMap) (package private) void
SortingTermVectorsConsumer.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) void
StoredFieldsConsumer.flush
(SegmentWriteState state, Sorter.DocMap sortMap) (package private) void
TermsHash.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) void
TermVectorsConsumer.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) void
VectorValuesConsumer.flush
(SegmentWriteState state, Sorter.DocMap sortMap) private Sorter.DocMap
IndexingChain.maybeSortSegment
(SegmentWriteState state) void
SegmentMerger.VoidMerger.merge
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergeDocValues
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergeFieldInfos
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergeNorms
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergePoints
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergeTerms
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergeVectorValues
(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private void
SegmentMerger.mergeWithLogging
(SegmentMerger.VoidMerger merger, SegmentWriteState segmentWriteState, SegmentReadState segmentReadState, String formatName, int numMerged) private void
IndexingChain.writeDocValues
(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered doc values (called fromIndexingChain.flush(org.apache.lucene.index.SegmentWriteState)
).private void
IndexingChain.writeNorms
(SegmentWriteState state, Sorter.DocMap sortMap) private void
IndexingChain.writePoints
(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered points.Constructors in org.apache.lucene.index with parameters of type SegmentWriteStateModifierConstructorDescriptionSegmentWriteState
(SegmentWriteState state, String segmentSuffix) Create a shallow copy ofSegmentWriteState
with a new segment suffix. -
Uses of SegmentWriteState in org.apache.lucene.sandbox.codecs.idversion
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionIDVersionPostingsFormat.fieldsConsumer
(SegmentWriteState state) void
IDVersionPostingsWriter.init
(IndexOutput termsOut, SegmentWriteState state) Constructors in org.apache.lucene.sandbox.codecs.idversion with parameters of type SegmentWriteStateModifierConstructorDescriptionVersionBlockTreeTermsWriter
(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock) Create a new writer. -
Uses of SegmentWriteState in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as SegmentWriteStateMethods in org.apache.lucene.search.suggest.document with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionCompletionPostingsFormat.fieldsConsumer
(SegmentWriteState state) Constructors in org.apache.lucene.search.suggest.document with parameters of type SegmentWriteStateModifierConstructorDescription(package private)
CompletionFieldsConsumer
(String codecName, PostingsFormat delegatePostingsFormat, SegmentWriteState state)