Uses of Class
org.apache.lucene.index.SegmentWriteState
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.0 file format.
BlockTree terms dictionary.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
-
Uses of SegmentWriteState in org.apache.lucene.codecs
Modifier 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.lucene90
Modifier and TypeMethodDescriptionLucene90DocValuesFormat.fieldsConsumer
(SegmentWriteState state) Lucene90PointsFormat.fieldsWriter
(SegmentWriteState state) Lucene90NormsFormat.normsConsumer
(SegmentWriteState state) ModifierConstructorDescriptionLucene90PointsWriter
(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
ModifierConstructorDescriptionLucene90BlockTreeTermsWriter
(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
Modifier 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) ModifierConstructorDescriptionCreates a postings writer -
Uses of SegmentWriteState in org.apache.lucene.codecs.perfield
Modifier and TypeMethodDescriptionfinal DocValuesConsumer
PerFieldDocValuesFormat.fieldsConsumer
(SegmentWriteState state) final FieldsConsumer
PerFieldPostingsFormat.fieldsConsumer
(SegmentWriteState state) PerFieldKnnVectorsFormat.fieldsWriter
(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.index
ModifierConstructorDescriptionSegmentWriteState
(SegmentWriteState state, String segmentSuffix) Create a shallow copy ofSegmentWriteState
with a new segment suffix.