Uses of Class
org.apache.lucene.index.SegmentInfo
Packages that use SegmentInfo
Package
Description
Lucene 5.0 file format.
Lucene 5.0 compressing format.
Lucene 6.0 file format.
Components from the Lucene 7.0 index format.
Lucene 8.6 file format.
Lucene 8.7 file format.
Lucene 9.0 file format.
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.0 file format.
Lucene 9.0 compressing format.
Lucene 9.4 file format.
Lucene 9.9 file format.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Simpletext Codec: writes human readable postings.
Code to maintain and access indices.
-
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type SegmentInfoModifier and TypeMethodDescriptionfinal StoredFieldsReaderLucene50StoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Lucene50StoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) Lucene50CompoundFormat.getCompoundReader(Directory dir, SegmentInfo si, IOContext context) voidLucene50CompoundFormat.write(Directory dir, SegmentInfo si, IOContext context) Constructors in org.apache.lucene.backward_codecs.lucene50 with parameters of type SegmentInfoModifierConstructorDescriptionLucene50CompoundReader(Directory directory, SegmentInfo si, IOContext context) Create a new CompoundFileDirectory. -
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene50.compressing
Methods in org.apache.lucene.backward_codecs.lucene50.compressing with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene50CompressingStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Lucene50CompressingStoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) final TermVectorsReaderLucene50CompressingTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) Lucene50CompressingTermVectorsFormat.vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) Constructors in org.apache.lucene.backward_codecs.lucene50.compressing with parameters of type SegmentInfoModifierConstructorDescription(package private)LegacyFieldsIndexReader(IndexInput fieldsIndexIn, SegmentInfo si) Lucene50CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor.Lucene50CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor. -
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene60
Methods in org.apache.lucene.backward_codecs.lucene60 with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene60FieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext context) voidLucene60FieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) Note: although this format is only used on older versions, we need to keep the write logic in addition to the read logic. -
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene70
Methods in org.apache.lucene.backward_codecs.lucene70 that return SegmentInfoModifier and TypeMethodDescriptionprivate SegmentInfoLucene70SegmentInfoFormat.parseSegmentInfo(Directory dir, DataInput input, String segment, byte[] segmentID) Methods in org.apache.lucene.backward_codecs.lucene70 with parameters of type SegmentInfoModifier and TypeMethodDescriptionvoidLucene70SegmentInfoFormat.write(Directory dir, SegmentInfo si, IOContext ioContext) -
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene86
Methods in org.apache.lucene.backward_codecs.lucene86 that return SegmentInfoModifier and TypeMethodDescriptionprivate SegmentInfoLucene86SegmentInfoFormat.parseSegmentInfo(Directory dir, DataInput input, String segment, byte[] segmentID) Methods in org.apache.lucene.backward_codecs.lucene86 with parameters of type SegmentInfoModifier and TypeMethodDescriptionvoidLucene86SegmentInfoFormat.write(Directory dir, SegmentInfo si, IOContext ioContext) -
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene87
Methods in org.apache.lucene.backward_codecs.lucene87 with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene87StoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Lucene87StoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) -
Uses of SegmentInfo in org.apache.lucene.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 that return SegmentInfoModifier and TypeMethodDescriptionprivate SegmentInfoLucene90SegmentInfoFormat.parseSegmentInfo(Directory dir, DataInput input, String segment, byte[] segmentID) Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene90FieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext context) voidLucene90FieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) voidLucene90SegmentInfoFormat.write(Directory dir, SegmentInfo si, IOContext ioContext) -
Uses of SegmentInfo in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return SegmentInfoModifier and TypeMethodDescriptionabstract SegmentInfoSegmentInfoFormat.read(Directory directory, String segmentName, byte[] segmentID, IOContext context) ReadSegmentInfodata from a directory.Methods in org.apache.lucene.codecs with parameters of type SegmentInfoModifier and TypeMethodDescriptionabstract StoredFieldsReaderStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Returns aStoredFieldsReaderto load stored fields.abstract StoredFieldsWriterStoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) Returns aStoredFieldsWriterto write stored fields.abstract CompoundDirectoryCompoundFormat.getCompoundReader(Directory dir, SegmentInfo si, IOContext context) Returns a Directory view (read-only) for the compound files in this segmentabstract FieldInfosFieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) abstract TermVectorsReaderTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) Returns aTermVectorsReaderto read term vectors.abstract TermVectorsWriterTermVectorsFormat.vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) Returns aTermVectorsWriterto write term vectors.abstract voidCompoundFormat.write(Directory dir, SegmentInfo si, IOContext context) Packs the provided segment's files into a compound format.abstract voidFieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) Writes the providedFieldInfosto the directory.abstract voidSegmentInfoFormat.write(Directory dir, SegmentInfo info, IOContext ioContext) WriteSegmentInfodata. -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene90StoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Lucene90StoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) Lucene90CompoundFormat.getCompoundReader(Directory dir, SegmentInfo si, IOContext context) voidLucene90CompoundFormat.write(Directory dir, SegmentInfo si, IOContext context) private voidLucene90CompoundFormat.writeCompoundFile(IndexOutput entries, IndexOutput data, Directory dir, SegmentInfo si) Constructors in org.apache.lucene.codecs.lucene90 with parameters of type SegmentInfoModifierConstructorDescriptionLucene90CompoundReader(Directory directory, SegmentInfo si, IOContext context) Create a new CompoundFileDirectory. -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene90CompressingStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Lucene90CompressingStoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) final TermVectorsReaderLucene90CompressingTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) final TermVectorsWriterLucene90CompressingTermVectorsFormat.vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) Constructors in org.apache.lucene.codecs.lucene90.compressing with parameters of type SegmentInfoModifierConstructorDescriptionLucene90CompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor.(package private)Lucene90CompressingStoredFieldsWriter(Directory directory, SegmentInfo si, String segmentSuffix, IOContext context, String formatName, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift) Sole constructor.Lucene90CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor.(package private)Lucene90CompressingTermVectorsWriter(Directory directory, SegmentInfo si, String segmentSuffix, IOContext context, String formatName, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift) Sole constructor. -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene94
Methods in org.apache.lucene.codecs.lucene94 with parameters of type SegmentInfoModifier and TypeMethodDescriptionLucene94FieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext context) voidLucene94FieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return SegmentInfoModifier and TypeMethodDescriptionprivate SegmentInfoLucene99SegmentInfoFormat.parseSegmentInfo(Directory dir, DataInput input, String segment, byte[] segmentID) Methods in org.apache.lucene.codecs.lucene99 with parameters of type SegmentInfoModifier and TypeMethodDescriptionvoidLucene99SegmentInfoFormat.write(Directory dir, SegmentInfo si, IOContext ioContext) private voidLucene99SegmentInfoFormat.writeSegmentInfo(DataOutput output, SegmentInfo si) -
Uses of SegmentInfo in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type SegmentInfoModifier and TypeMethodDescriptionprivate voidFSTTermsReader.checkFieldSummary(SegmentInfo info, IndexInput in, FSTTermsReader.TermsReader field, FSTTermsReader.TermsReader previous) -
Uses of SegmentInfo in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext that return SegmentInfoModifier and TypeMethodDescriptionSimpleTextSegmentInfoFormat.read(Directory directory, String segmentName, byte[] segmentID, IOContext context) Methods in org.apache.lucene.codecs.simpletext with parameters of type SegmentInfoModifier and TypeMethodDescriptionSimpleTextStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) SimpleTextStoredFieldsFormat.fieldsWriter(Directory directory, SegmentInfo si, IOContext context) SimpleTextCompoundFormat.getCompoundReader(Directory dir, SegmentInfo si, IOContext context) SimpleTextFieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) SimpleTextTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) SimpleTextTermVectorsFormat.vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context) voidSimpleTextCompoundFormat.write(Directory dir, SegmentInfo si, IOContext context) voidSimpleTextFieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) voidSimpleTextSegmentInfoFormat.write(Directory dir, SegmentInfo si, IOContext ioContext) Constructors in org.apache.lucene.codecs.simpletext with parameters of type SegmentInfoModifierConstructorDescriptionSimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) SimpleTextTermVectorsReader(Directory directory, SegmentInfo si, IOContext context) -
Uses of SegmentInfo in org.apache.lucene.index
Fields in org.apache.lucene.index declared as SegmentInfoModifier and TypeFieldDescriptionfinal SegmentInfoSegmentCommitInfo.infoTheSegmentInfothat we wrap.(package private) final SegmentInfoStoredFieldsConsumer.infoprotected final SegmentInfoTermVectorsConsumer.infoprivate final SegmentInfoDocumentsWriterPerThread.segmentInfofinal SegmentInfoMergeState.segmentInfoSegmentInfoof the newly merged segment.final SegmentInfoSegmentReadState.segmentInfoSegmentInfodescribing this segment.final SegmentInfoSegmentWriteState.segmentInfoSegmentInfodescribing this segment.private final SegmentInfoVectorValuesConsumer.segmentInfoMethods in org.apache.lucene.index that return SegmentInfoModifier and TypeMethodDescription(package private) SegmentInfoDocumentsWriterPerThread.getSegmentInfo()Get current segment info we are writing.Methods in org.apache.lucene.index with parameters of type SegmentInfoModifier and TypeMethodDescription(package private) static voidIndexWriter.createCompoundFile(InfoStream infoStream, TrackingDirectoryWrapper directory, SegmentInfo info, IOContext context, IOConsumer<Collection<String>> deleteFiles) NOTE: this method creates a compound file for all files returned by info.files().voidDocumentsWriter.FlushNotifications.flushFailed(SegmentInfo info) Called when a segment failed to flush.private voidIndexWriter.flushFailed(SegmentInfo info) Cleans up residuals from a segment that could not be entirely flushed due to an error(package private) static voidIndexWriter.setDiagnostics(SegmentInfo info, String source) private static voidIndexWriter.setDiagnostics(SegmentInfo info, String source, Map<String, String> details) private static voidMergeState.verifyIndexSort(List<CodecReader> readers, SegmentInfo segmentInfo) Constructors in org.apache.lucene.index with parameters of type SegmentInfoModifierConstructorDescription(package private)IndexingChain(int indexCreatedVersionMajor, SegmentInfo segmentInfo, Directory directory, FieldInfos.Builder fieldInfos, LiveIndexWriterConfig indexWriterConfig, Consumer<Throwable> abortingExceptionConsumer) (package private)MergeState(List<CodecReader> readers, SegmentInfo segmentInfo, InfoStream infoStream, Executor intraMergeTaskExecutor) Sole constructor.MergeState(MergeState.DocMap[] docMaps, SegmentInfo segmentInfo, FieldInfos mergeFieldInfos, StoredFieldsReader[] storedFieldsReaders, TermVectorsReader[] termVectorsReaders, NormsProducer[] normsProducers, DocValuesProducer[] docValuesProducers, FieldInfos[] fieldInfos, Bits[] liveDocs, FieldsProducer[] fieldsProducers, PointsReader[] pointsReaders, KnnVectorsReader[] knnVectorsReaders, int[] maxDocs, InfoStream infoStream, Executor intraMergeTaskExecutor, boolean needsIndexSort) Create a new merge instance.SegmentCommitInfo(SegmentInfo info, int delCount, int softDelCount, long delGen, long fieldInfosGen, long docValuesGen, byte[] id) Sole constructor.(package private)SegmentMerger(List<CodecReader> readers, SegmentInfo segmentInfo, InfoStream infoStream, Directory dir, FieldInfos.FieldNumbers fieldNumbers, IOContext context, Executor intraMergeTaskExecutor) SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context) Create aSegmentReadState.SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context, String segmentSuffix) Create aSegmentReadState.SegmentWriteState(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, BufferedUpdates segUpdates, IOContext context) Sole constructor.SegmentWriteState(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, BufferedUpdates segUpdates, IOContext context, String segmentSuffix) Constructor which takes segment suffix.(package private)SortingStoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info) (package private)SortingTermVectorsConsumer(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Directory directory, SegmentInfo info, Codec codec) (package private)StoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info) (package private)TermVectorsConsumer(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Directory directory, SegmentInfo info, Codec codec) (package private)VectorValuesConsumer(Codec codec, Directory directory, SegmentInfo segmentInfo, InfoStream infoStream)