Uses of Class
org.apache.lucene.index.SegmentWriteState
-
Packages that use SegmentWriteState Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.codecs.lucene90.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.codecs.perfield Postings format that can delegate to different formats per-field.org.apache.lucene.index Code to maintain and access indices. -
-
Uses of SegmentWriteState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type SegmentWriteState Modifier and Type Method Description abstract 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
Methods in org.apache.lucene.codecs.lucene90 with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumer
Lucene90DocValuesFormat. fieldsConsumer(SegmentWriteState state)
PointsWriter
Lucene90PointsFormat. fieldsWriter(SegmentWriteState state)
NormsConsumer
Lucene90NormsFormat. normsConsumer(SegmentWriteState state)
Constructors in org.apache.lucene.codecs.lucene90 with parameters of type SegmentWriteState Constructor Description 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 SegmentWriteState Constructor Description Lucene90BlockTreeTermsWriter(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
Methods in org.apache.lucene.codecs.lucene99 with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumer
Lucene99PostingsFormat. fieldsConsumer(SegmentWriteState state)
FlatVectorsWriter
Lucene99FlatVectorsFormat. fieldsWriter(SegmentWriteState state)
KnnVectorsWriter
Lucene99HnswScalarQuantizedVectorsFormat. fieldsWriter(SegmentWriteState state)
KnnVectorsWriter
Lucene99HnswVectorsFormat. fieldsWriter(SegmentWriteState state)
FlatVectorsWriter
Lucene99ScalarQuantizedVectorsFormat. fieldsWriter(SegmentWriteState state)
void
Lucene99PostingsWriter. init(IndexOutput termsOut, SegmentWriteState state)
Constructors in org.apache.lucene.codecs.lucene99 with parameters of type SegmentWriteState Constructor Description Lucene99PostingsWriter(SegmentWriteState state)
Creates a postings writer -
Uses of SegmentWriteState in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumer
PerFieldDocValuesFormat. fieldsConsumer(SegmentWriteState state)
FieldsConsumer
PerFieldPostingsFormat. fieldsConsumer(SegmentWriteState state)
KnnVectorsWriter
PerFieldKnnVectorsFormat. fieldsWriter(SegmentWriteState state)
-
Uses of SegmentWriteState in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type SegmentWriteState Constructor Description SegmentWriteState(SegmentWriteState state, String segmentSuffix)
Create a shallow copy ofSegmentWriteState
with a new segment suffix.
-