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.blockterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.bloom Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.org.apache.lucene.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.codecs.lucene50 Components from the Lucene 5.0 index format Seeorg.apache.lucene.codecs.lucene80for an overview of the index format.org.apache.lucene.codecs.lucene60 Components from the Lucene 6.0 index format.org.apache.lucene.codecs.lucene70 Components from the Lucene 7.0 index format.org.apache.lucene.codecs.lucene80 Components from the Lucene 8.0 index format Seeorg.apache.lucene.codecs.lucene84for an overview of the index format.org.apache.lucene.codecs.lucene84 Components from the Lucene 8.4 index format.org.apache.lucene.codecs.lucene86 Lucene 8.6 file format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.perfield Postings format that can delegate to different formats per-field.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.uniformsplit.sharedterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search.suggest.document Support for document suggestion -
-
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 DocValuesConsumerDocValuesFormat. fieldsConsumer(SegmentWriteState state)Returns aDocValuesConsumerto write docvalues to the index.abstract FieldsConsumerPostingsFormat. fieldsConsumer(SegmentWriteState state)Writes a new segmentabstract 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.blockterms
Constructors in org.apache.lucene.codecs.blockterms with parameters of type SegmentWriteState Constructor Description BlockTermsWriter(TermsIndexWriterBase termsIndexWriter, SegmentWriteState state, PostingsWriterBase postingsWriter)FixedGapTermsIndexWriter(SegmentWriteState state)FixedGapTermsIndexWriter(SegmentWriteState state, int termIndexInterval)VariableGapTermsIndexWriter(SegmentWriteState state, VariableGapTermsIndexWriter.IndexTermSelector policy) -
Uses of SegmentWriteState in org.apache.lucene.codecs.blocktree
Constructors in org.apache.lucene.codecs.blocktree with parameters of type SegmentWriteState Constructor Description BlockTreeTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock)Create a new writer. -
Uses of SegmentWriteState in org.apache.lucene.codecs.blocktreeords
Methods in org.apache.lucene.codecs.blocktreeords with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumerBlockTreeOrdsPostingsFormat. fieldsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type SegmentWriteState Constructor Description OrdsBlockTreeTermsWriter(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 SegmentWriteState Modifier and Type Field Description private SegmentWriteStateBloomFilteringPostingsFormat.BloomFilteredFieldsConsumer. stateMethods in org.apache.lucene.codecs.bloom with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumerBloomFilteringPostingsFormat. fieldsConsumer(SegmentWriteState state)abstract FuzzySetBloomFilterFactory. getSetForField(SegmentWriteState state, FieldInfo info)FuzzySetDefaultBloomFilterFactory. getSetForField(SegmentWriteState state, FieldInfo info)Constructors in org.apache.lucene.codecs.bloom with parameters of type SegmentWriteState Constructor Description BloomFilteredFieldsConsumer(FieldsConsumer fieldsConsumer, SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.codecs.idversion
Methods in org.apache.lucene.codecs.idversion with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumerIDVersionPostingsFormat. fieldsConsumer(SegmentWriteState state)voidIDVersionPostingsWriter. init(IndexOutput termsOut, SegmentWriteState state)Constructors in org.apache.lucene.codecs.idversion with parameters of type SegmentWriteState Constructor Description VersionBlockTreeTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter, int minItemsInBlock, int maxItemsInBlock)Create a new writer. -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene50
Methods in org.apache.lucene.codecs.lucene50 with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumerLucene50PostingsFormat. fieldsConsumer(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene60
Methods in org.apache.lucene.codecs.lucene60 with parameters of type SegmentWriteState Modifier and Type Method Description PointsWriterLucene60PointsFormat. fieldsWriter(SegmentWriteState state) -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene70
Methods in org.apache.lucene.codecs.lucene70 with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumerLucene70DocValuesFormat. fieldsConsumer(SegmentWriteState state)NormsConsumerLucene70NormsFormat. normsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.lucene70 with parameters of type SegmentWriteState Constructor Description Lucene70DocValuesConsumer(SegmentWriteState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension)expert: Creates a new writerLucene70NormsConsumer(SegmentWriteState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension) -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene80
Fields in org.apache.lucene.codecs.lucene80 declared as SegmentWriteState Modifier and Type Field Description private SegmentWriteStateLucene80DocValuesConsumer. stateMethods in org.apache.lucene.codecs.lucene80 with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumerLucene80DocValuesFormat. fieldsConsumer(SegmentWriteState state)NormsConsumerLucene80NormsFormat. normsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.lucene80 with parameters of type SegmentWriteState Constructor Description Lucene80DocValuesConsumer(SegmentWriteState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension, Lucene80DocValuesFormat.Mode mode)expert: Creates a new writerLucene80NormsConsumer(SegmentWriteState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension) -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene84
Methods in org.apache.lucene.codecs.lucene84 with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumerLucene84PostingsFormat. fieldsConsumer(SegmentWriteState state)voidLucene84PostingsWriter. init(IndexOutput termsOut, SegmentWriteState state)Constructors in org.apache.lucene.codecs.lucene84 with parameters of type SegmentWriteState Constructor Description Lucene84PostingsWriter(SegmentWriteState state)Creates a postings writer -
Uses of SegmentWriteState in org.apache.lucene.codecs.lucene86
Fields in org.apache.lucene.codecs.lucene86 declared as SegmentWriteState Modifier and Type Field Description (package private) SegmentWriteStateLucene86PointsWriter. writeStateMethods in org.apache.lucene.codecs.lucene86 with parameters of type SegmentWriteState Modifier and Type Method Description PointsWriterLucene86PointsFormat. fieldsWriter(SegmentWriteState state)Constructors in org.apache.lucene.codecs.lucene86 with parameters of type SegmentWriteState Constructor Description Lucene86PointsWriter(SegmentWriteState writeState)Uses the defaults values formaxPointsInLeafNode(1024) andmaxMBSortInHeap(16.0)Lucene86PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap)Full constructor -
Uses of SegmentWriteState in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumerDirectDocValuesFormat. fieldsConsumer(SegmentWriteState state)FieldsConsumerDirectPostingsFormat. fieldsConsumer(SegmentWriteState state)FieldsConsumerFSTPostingsFormat. fieldsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.memory with parameters of type SegmentWriteState Constructor Description DirectDocValuesConsumer(SegmentWriteState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension)FSTTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter) -
Uses of SegmentWriteState in org.apache.lucene.codecs.perfield
Fields in org.apache.lucene.codecs.perfield declared as SegmentWriteState Modifier and Type Field Description private SegmentWriteStatePerFieldDocValuesFormat.FieldsWriter. segmentWriteState(package private) SegmentWriteStatePerFieldPostingsFormat.FieldsGroup.Builder. state(package private) SegmentWriteStatePerFieldPostingsFormat.FieldsGroup. stateCustom SegmentWriteState for this group of fields, with the segmentSuffix uniqueified for this PostingsFormat(package private) SegmentWriteStatePerFieldPostingsFormat.FieldsWriter. writeStateMethods in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumerPerFieldDocValuesFormat. fieldsConsumer(SegmentWriteState state)FieldsConsumerPerFieldPostingsFormat. fieldsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.perfield with parameters of type SegmentWriteState Constructor Description Builder(int suffix, SegmentWriteState state)FieldsGroup(java.util.List<java.lang.String> fields, int suffix, SegmentWriteState state)FieldsWriter(SegmentWriteState state)FieldsWriter(SegmentWriteState writeState) -
Uses of SegmentWriteState in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as SegmentWriteState Modifier and Type Field Description private SegmentWriteStateSimpleTextFieldsWriter. writeState(package private) SegmentWriteStateSimpleTextPointsWriter. writeStateMethods in org.apache.lucene.codecs.simpletext with parameters of type SegmentWriteState Modifier and Type Method Description DocValuesConsumerSimpleTextDocValuesFormat. fieldsConsumer(SegmentWriteState state)FieldsConsumerSimpleTextPostingsFormat. fieldsConsumer(SegmentWriteState state)PointsWriterSimpleTextPointsFormat. fieldsWriter(SegmentWriteState state)NormsConsumerSimpleTextNormsFormat. normsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.simpletext with parameters of type SegmentWriteState Constructor Description SimpleTextDocValuesWriter(SegmentWriteState state, java.lang.String ext)SimpleTextFieldsWriter(SegmentWriteState writeState)SimpleTextNormsConsumer(SegmentWriteState state)SimpleTextPointsWriter(SegmentWriteState writeState) -
Uses of SegmentWriteState in org.apache.lucene.codecs.uniformsplit
Methods in org.apache.lucene.codecs.uniformsplit with parameters of type SegmentWriteState Modifier and Type Method Description protected FieldsConsumerUniformSplitPostingsFormat. createUniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder)FieldsConsumerUniformSplitPostingsFormat. fieldsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type SegmentWriteState Constructor Description UniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder)UniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder, FieldMetadata.Serializer fieldMetadataWriter, java.lang.String codecName, int versionCurrent, java.lang.String termsBlocksExtension, java.lang.String dictionaryExtension)UniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, BlockEncoder blockEncoder) -
Uses of SegmentWriteState in org.apache.lucene.codecs.uniformsplit.sharedterms
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type SegmentWriteState Modifier and Type Method Description protected FieldsConsumerSTUniformSplitPostingsFormat. createUniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder)Constructors in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type SegmentWriteState Constructor Description STUniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder)STUniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, int targetNumBlockLines, int deltaNumLines, BlockEncoder blockEncoder, FieldMetadata.Serializer fieldMetadataWriter, java.lang.String codecName, int versionCurrent, java.lang.String termsBlocksExtension, java.lang.String dictionaryExtension)STUniformSplitTermsWriter(PostingsWriterBase postingsWriter, SegmentWriteState state, BlockEncoder blockEncoder) -
Uses of SegmentWriteState in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type SegmentWriteState Modifier and Type Method Description private voidFreqProxTermsWriter. applyDeletes(SegmentWriteState state, Fields fields)voidBinaryDocValuesWriter. flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer)Sorter.DocMapDefaultIndexingChain. flush(SegmentWriteState state)(package private) abstract Sorter.DocMapDocConsumer. flush(SegmentWriteState state)(package private) abstract voidDocValuesWriter. flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer consumer)voidFreqProxTermsWriter. flush(java.util.Map<java.lang.String,TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms)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(java.util.Map<java.lang.String,TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms)(package private) voidStoredFieldsConsumer. flush(SegmentWriteState state, Sorter.DocMap sortMap)(package private) voidTermsHash. flush(java.util.Map<java.lang.String,TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms)(package private) voidTermVectorsConsumer. flush(java.util.Map<java.lang.String,TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms)private Sorter.DocMapDefaultIndexingChain. maybeSortSegment(SegmentWriteState state)private voidSegmentMerger. mergeDocValues(SegmentWriteState segmentWriteState)private voidSegmentMerger. mergeNorms(SegmentWriteState segmentWriteState)private voidSegmentMerger. mergePoints(SegmentWriteState segmentWriteState)private voidSegmentMerger. mergeTerms(SegmentWriteState segmentWriteState, NormsProducer norms)private voidDefaultIndexingChain. writeDocValues(SegmentWriteState state, Sorter.DocMap sortMap)Writes all buffered doc values (called fromDefaultIndexingChain.flush(org.apache.lucene.index.SegmentWriteState)).private voidDefaultIndexingChain. writeNorms(SegmentWriteState state, Sorter.DocMap sortMap)private voidDefaultIndexingChain. writePoints(SegmentWriteState state, Sorter.DocMap sortMap)Writes all buffered points.Constructors in org.apache.lucene.index with parameters of type SegmentWriteState Constructor Description SegmentWriteState(SegmentWriteState state, java.lang.String segmentSuffix)Create a shallow copy ofSegmentWriteStatewith a new segment suffix. -
Uses of SegmentWriteState in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as SegmentWriteState Modifier and Type Field Description private SegmentWriteStateCompletionFieldsConsumer. stateMethods in org.apache.lucene.search.suggest.document with parameters of type SegmentWriteState Modifier and Type Method Description FieldsConsumerCompletionPostingsFormat. fieldsConsumer(SegmentWriteState state)Constructors in org.apache.lucene.search.suggest.document with parameters of type SegmentWriteState Constructor Description CompletionFieldsConsumer(java.lang.String codecName, PostingsFormat delegatePostingsFormat, SegmentWriteState state)
-