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.
A simple bit-vector format that supports hamming distance and storing vectors in an HNSW graph
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.
HNSW vector helper classes.
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) voidLucene90PostingsWriter.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 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.bitvectors
Methods in org.apache.lucene.codecs.bitvectors with parameters of type SegmentWriteState -
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 SegmentWriteStateBloomFilteringPostingsFormat.BloomFilteredFieldsConsumer.stateMethods in org.apache.lucene.codecs.bloom with parameters of type SegmentWriteStateModifier and TypeMethodDescriptionBloomFilteringPostingsFormat.fieldsConsumer(SegmentWriteState state) abstract FuzzySetBloomFilterFactory.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.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.lucene90
Fields in org.apache.lucene.codecs.lucene90 declared as SegmentWriteStateModifier and TypeFieldDescription(package private) final SegmentWriteStateLucene90PointsWriter.writeStateMethods 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 SegmentWriteStateLucene99FlatVectorsWriter.segmentWriteStateprivate final SegmentWriteStateLucene99HnswVectorsWriter.segmentWriteStateprivate final SegmentWriteStateLucene99ScalarQuantizedVectorsWriter.segmentWriteStateMethods 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) voidLucene99PostingsWriter.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 SegmentWriteStateModifierConstructorDescriptionLucene99FlatVectorsWriter(SegmentWriteState state, FlatVectorsScorer scorer) Lucene99HnswVectorsWriter(SegmentWriteState state, int M, int beamWidth, FlatVectorsWriter flatVectorWriter, int numMergeWorkers, TaskExecutor mergeExec) Creates a postings writerprivateLucene99ScalarQuantizedVectorsWriter(SegmentWriteState state, int version, Float confidenceInterval, byte bits, boolean compress, FlatVectorsWriter rawVectorDelegate, FlatVectorsScorer scorer) Lucene99ScalarQuantizedVectorsWriter(SegmentWriteState state, Float confidenceInterval, byte bits, boolean compress, FlatVectorsWriter rawVectorDelegate, FlatVectorsScorer scorer) Lucene99ScalarQuantizedVectorsWriter(SegmentWriteState state, Float confidenceInterval, FlatVectorsWriter rawVectorDelegate, FlatVectorsScorer scorer) -
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 SegmentWriteStatePerFieldDocValuesFormat.FieldsWriter.segmentWriteStateprivate final SegmentWriteStatePerFieldKnnVectorsFormat.FieldsWriter.segmentWriteState(package private) final SegmentWriteStatePerFieldPostingsFormat.FieldsGroup.Builder.state(package private) final SegmentWriteStatePerFieldPostingsFormat.FieldsGroup.stateCustom SegmentWriteState for this group of fields, with the segmentSuffix uniqueified for this PostingsFormat(package private) final SegmentWriteStatePerFieldPostingsFormat.FieldsWriter.writeStateMethods 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) Constructors in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteStateModifierConstructorDescription(package private)Builder(int suffix, SegmentWriteState state) privateFieldsGroup(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 SegmentWriteStateSimpleTextFieldsWriter.writeState(package private) final SegmentWriteStateSimpleTextPointsWriter.writeStateMethods 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 FieldsConsumerUniformSplitPostingsFormat.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) protectedUniformSplitTermsWriter(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 voidFreqProxTermsWriter.applyDeletes(SegmentWriteState state, Fields fields) voidBinaryDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) abstract voidDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer consumer) voidFreqProxTermsWriter.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) Sorter.DocMapIndexingChain.flush(SegmentWriteState state) voidNormValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, NormsConsumer normsConsumer) voidNumericDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) voidPointValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, PointsWriter writer) voidSortedDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) voidSortedNumericDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) voidSortedSetDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) voidSortingStoredFieldsConsumer.flush(SegmentWriteState state, Sorter.DocMap sortMap) (package private) voidSortingTermVectorsConsumer.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) voidStoredFieldsConsumer.flush(SegmentWriteState state, Sorter.DocMap sortMap) (package private) voidTermsHash.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) voidTermVectorsConsumer.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) voidVectorValuesConsumer.flush(SegmentWriteState state, Sorter.DocMap sortMap) private Sorter.DocMapIndexingChain.maybeSortSegment(SegmentWriteState state) voidSegmentMerger.VoidMerger.merge(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergeDocValues(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergeFieldInfos(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergeNorms(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergePoints(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergeTerms(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergeVectorValues(SegmentWriteState segmentWriteState, SegmentReadState segmentReadState) private voidSegmentMerger.mergeWithLogging(SegmentMerger.VoidMerger merger, SegmentWriteState segmentWriteState, SegmentReadState segmentReadState, String formatName, int numMerged) private voidIndexingChain.writeDocValues(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered doc values (called fromIndexingChain.flush(org.apache.lucene.index.SegmentWriteState)).private voidIndexingChain.writeNorms(SegmentWriteState state, Sorter.DocMap sortMap) private voidIndexingChain.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 ofSegmentWriteStatewith 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) voidIDVersionPostingsWriter.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)