Uses of Class
org.apache.lucene.index.SegmentWriteState
Packages that use SegmentWriteState
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
HNSW vector helper classes.
BlockTree terms dictionary.
Lucene 10.4 file format.
Lucene 9.0 file format.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Uses of SegmentWriteState in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionabstract DocValuesConsumerDocValuesFormat.fieldsConsumer(SegmentWriteState state) Returns aDocValuesConsumerto write docvalues to the index.abstract FieldsConsumerPostingsFormat.fieldsConsumer(SegmentWriteState state) Writes a new segmentabstract KnnVectorsWriterKnnVectorsFormat.fieldsWriter(SegmentWriteState state) Returns aKnnVectorsWriterto write the vectors to the index.abstract PointsWriterPointsFormat.fieldsWriter(SegmentWriteState state) Writes a new segmentabstract voidPostingsWriterBase.init(IndexOutput termsOut, SegmentWriteState state) Called once after startup, before any terms have been added.abstract NormsConsumerNormsFormat.normsConsumer(SegmentWriteState state) Returns aNormsConsumerto write norms to the index. -
Uses of SegmentWriteState in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionabstract FlatVectorsWriterFlatVectorsFormat.fieldsWriter(SegmentWriteState state) Returns aFlatVectorsWriterto write the vectors to the index. -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene103.blocktree
Constructors in org.apache.lucene.codecs.lucene103.blocktree with parameters of type SegmentWriteStateModifierConstructorDescriptionLucene103BlockTreeTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock) Create a new writer.Lucene103BlockTreeTermsWriter(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.lucene104
Methods in org.apache.lucene.codecs.lucene104 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene104PostingsFormat.fieldsConsumer(SegmentWriteState state) Lucene104HnswScalarQuantizedVectorsFormat.fieldsWriter(SegmentWriteState state) Lucene104ScalarQuantizedVectorsFormat.fieldsWriter(SegmentWriteState state) Lucene104ScalarQuantizedVectorsReader.getRandomVectorScorerSupplierForMerge(FieldInfo fieldInfo, SegmentWriteState segmentWriteState) voidLucene104PostingsWriter.init(IndexOutput termsOut, SegmentWriteState state) Constructors in org.apache.lucene.codecs.lucene104 with parameters of type SegmentWriteStateModifierConstructorDescriptionSole public constructor.Lucene104ScalarQuantizedVectorsWriter(SegmentWriteState state, QuantizedByteVectorValues.ScalarEncoding encoding, FlatVectorsWriter rawVectorDelegate, Lucene104ScalarQuantizedVectorScorer vectorsScorer) Sole constructor -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene90
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 SegmentWriteStateModifierConstructorDescriptionLucene90PointsWriter(SegmentWriteState writeState) Uses the defaults values formaxPointsInLeafNode(512) andmaxMBSortInHeap(16.0)Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap, int version) Full constructor -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionLucene99FlatVectorsFormat.fieldsWriter(SegmentWriteState state) Lucene99HnswVectorsFormat.fieldsWriter(SegmentWriteState state) Lucene99HnswVectorsReader.getRandomVectorScorerSupplierForMerge(FieldInfo fieldInfo, SegmentWriteState segmentWriteState) Constructors in org.apache.lucene.codecs.lucene99 with parameters of type SegmentWriteStateModifierConstructorDescriptionLucene99FlatVectorsWriter(SegmentWriteState state, FlatVectorsScorer scorer) Constructs a writer that uses the default factory to build per-field vector storage.Lucene99FlatVectorsWriter(SegmentWriteState state, FlatVectorsScorer scorer, IOFunction<FieldInfo, FlatFieldVectorsWriter<?>> strategyFactory) Constructs a writer that uses the suppliedstrategyFactoryto build per-field vector storage.Lucene99HnswVectorsWriter(SegmentWriteState state, int M, int beamWidth, FlatVectorsFormat flatVectorsFormat, FlatVectorsWriter flatVectorWriter, int numMergeWorkers, TaskExecutor mergeExec) Lucene99HnswVectorsWriter(SegmentWriteState state, int M, int beamWidth, FlatVectorsFormat flatVectorsFormat, FlatVectorsWriter flatVectorWriter, int numMergeWorkers, TaskExecutor mergeExec, int tinySegmentsThreshold) -
Uses of SegmentWriteState in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionfinal DocValuesConsumerPerFieldDocValuesFormat.fieldsConsumer(SegmentWriteState state) final FieldsConsumerPerFieldPostingsFormat.fieldsConsumer(SegmentWriteState state) PerFieldKnnVectorsFormat.fieldsWriter(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.index
Constructors in org.apache.lucene.index with parameters of type SegmentWriteStateModifierConstructorDescriptionSegmentWriteState(SegmentWriteState state, String segmentSuffix) Create a shallow copy ofSegmentWriteStatewith a new segment suffix. -
Uses of SegmentWriteState in org.apache.lucene.util.quantization
Methods in org.apache.lucene.util.quantization with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionQuantizedVectorsReader.getRandomVectorScorerSupplierForMerge(FieldInfo fieldInfo, SegmentWriteState segmentWriteState) Provides a scorer for merging this quantized vector reader.