Uses of Class
org.apache.lucene.index.SegmentInfo
-
Packages that use SegmentInfo Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.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.lucene86 Lucene 8.6 file format.org.apache.lucene.codecs.lucene87 Lucene 8.7 file format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.index Code to maintain and access indices. -
-
Uses of SegmentInfo in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return SegmentInfo Modifier and Type Method Description abstract SegmentInfoSegmentInfoFormat. read(Directory directory, java.lang.String segmentName, byte[] segmentID, IOContext context)ReadSegmentInfodata from a directory.Methods in org.apache.lucene.codecs with parameters of type SegmentInfo Modifier and Type Method Description abstract 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, java.lang.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, java.lang.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.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type SegmentInfo Modifier and Type Method Description StoredFieldsReaderCompressingStoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)StoredFieldsWriterCompressingStoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context)TermVectorsReaderCompressingTermVectorsFormat. vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)TermVectorsWriterCompressingTermVectorsFormat. vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)Constructors in org.apache.lucene.codecs.compressing with parameters of type SegmentInfo Constructor Description CompressingStoredFieldsReader(Directory d, SegmentInfo si, java.lang.String segmentSuffix, FieldInfos fn, IOContext context, java.lang.String formatName, CompressionMode compressionMode)Sole constructor.CompressingStoredFieldsWriter(Directory directory, SegmentInfo si, java.lang.String segmentSuffix, IOContext context, java.lang.String formatName, CompressionMode compressionMode, int chunkSize, int maxDocsPerChunk, int blockShift)Sole constructor.CompressingTermVectorsReader(Directory d, SegmentInfo si, java.lang.String segmentSuffix, FieldInfos fn, IOContext context, java.lang.String formatName, CompressionMode compressionMode)Sole constructor.CompressingTermVectorsWriter(Directory directory, SegmentInfo si, java.lang.String segmentSuffix, IOContext context, java.lang.String formatName, CompressionMode compressionMode, int chunkSize, int blockShift)Sole constructor.LegacyFieldsIndexReader(IndexInput fieldsIndexIn, SegmentInfo si) -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene50
Methods in org.apache.lucene.codecs.lucene50 with parameters of type SegmentInfo Modifier and Type Method Description StoredFieldsReaderLucene50StoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)StoredFieldsWriterLucene50StoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context)CompoundDirectoryLucene50CompoundFormat. getCompoundReader(Directory dir, SegmentInfo si, IOContext context)FieldInfosLucene50FieldInfosFormat. read(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, IOContext context)voidLucene50CompoundFormat. write(Directory dir, SegmentInfo si, IOContext context)voidLucene50FieldInfosFormat. write(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, FieldInfos infos, IOContext context)Constructors in org.apache.lucene.codecs.lucene50 with parameters of type SegmentInfo Constructor Description Lucene50CompoundReader(Directory directory, SegmentInfo si, IOContext context)Create a new CompoundFileDirectory. -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene60
Methods in org.apache.lucene.codecs.lucene60 with parameters of type SegmentInfo Modifier and Type Method Description FieldInfosLucene60FieldInfosFormat. read(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, IOContext context)voidLucene60FieldInfosFormat. write(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, FieldInfos infos, IOContext context) -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene70
Methods in org.apache.lucene.codecs.lucene70 that return SegmentInfo Modifier and Type Method Description SegmentInfoLucene70SegmentInfoFormat. read(Directory dir, java.lang.String segment, byte[] segmentID, IOContext context)Methods in org.apache.lucene.codecs.lucene70 with parameters of type SegmentInfo Modifier and Type Method Description voidLucene70SegmentInfoFormat. write(Directory dir, SegmentInfo si, IOContext ioContext) -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene86
Methods in org.apache.lucene.codecs.lucene86 that return SegmentInfo Modifier and Type Method Description SegmentInfoLucene86SegmentInfoFormat. read(Directory dir, java.lang.String segment, byte[] segmentID, IOContext context)Methods in org.apache.lucene.codecs.lucene86 with parameters of type SegmentInfo Modifier and Type Method Description voidLucene86SegmentInfoFormat. write(Directory dir, SegmentInfo si, IOContext ioContext) -
Uses of SegmentInfo in org.apache.lucene.codecs.lucene87
Methods in org.apache.lucene.codecs.lucene87 with parameters of type SegmentInfo Modifier and Type Method Description StoredFieldsReaderLucene87StoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)StoredFieldsWriterLucene87StoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context) -
Uses of SegmentInfo in org.apache.lucene.codecs.memory
Methods in org.apache.lucene.codecs.memory with parameters of type SegmentInfo Modifier and Type Method Description private 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 SegmentInfo Modifier and Type Method Description SegmentInfoSimpleTextSegmentInfoFormat. read(Directory directory, java.lang.String segmentName, byte[] segmentID, IOContext context)Methods in org.apache.lucene.codecs.simpletext with parameters of type SegmentInfo Modifier and Type Method Description StoredFieldsReaderSimpleTextStoredFieldsFormat. fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context)StoredFieldsWriterSimpleTextStoredFieldsFormat. fieldsWriter(Directory directory, SegmentInfo si, IOContext context)CompoundDirectorySimpleTextCompoundFormat. getCompoundReader(Directory dir, SegmentInfo si, IOContext context)FieldInfosSimpleTextFieldInfosFormat. read(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, IOContext iocontext)TermVectorsReaderSimpleTextTermVectorsFormat. vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)TermVectorsWriterSimpleTextTermVectorsFormat. vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)voidSimpleTextCompoundFormat. write(Directory dir, SegmentInfo si, IOContext context)voidSimpleTextFieldInfosFormat. write(Directory directory, SegmentInfo segmentInfo, java.lang.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 SegmentInfo Constructor Description SimpleTextStoredFieldsReader(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 SegmentInfo Modifier and Type Field Description SegmentInfoSegmentCommitInfo. infoTheSegmentInfothat we wrap.(package private) SegmentInfoStoredFieldsConsumer. infoprotected SegmentInfoTermVectorsConsumer. infoprivate SegmentInfoDocumentsWriterPerThread. segmentInfoSegmentInfoMergeState. segmentInfoSegmentInfoof the newly merged segment.SegmentInfoSegmentReadState. segmentInfoSegmentInfodescribing this segment.SegmentInfoSegmentWriteState. segmentInfoSegmentInfodescribing this segment.Methods in org.apache.lucene.index that return SegmentInfo Modifier and Type Method Description (package private) SegmentInfoDocumentsWriterPerThread. getSegmentInfo()Get current segment info we are writing.Methods in org.apache.lucene.index with parameters of type SegmentInfo Modifier and Type Method Description (package private) static voidIndexWriter. createCompoundFile(InfoStream infoStream, TrackingDirectoryWrapper directory, SegmentInfo info, IOContext context, IOUtils.IOConsumer<java.util.Collection<java.lang.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) abstract DocConsumerDocumentsWriterPerThread.IndexingChain. getChain(int indexCreatedVersionMajor, SegmentInfo segmentInfo, Directory directory, FieldInfos.Builder fieldInfos, LiveIndexWriterConfig indexWriterConfig, java.util.function.Consumer<java.lang.Throwable> abortingExceptionConsumer)private java.util.List<CodecReader>MergeState. maybeSortReaders(java.util.List<CodecReader> originalReaders, SegmentInfo segmentInfo)(package private) static voidIndexWriter. setDiagnostics(SegmentInfo info, java.lang.String source)private static voidIndexWriter. setDiagnostics(SegmentInfo info, java.lang.String source, java.util.Map<java.lang.String,java.lang.String> details)Constructors in org.apache.lucene.index with parameters of type SegmentInfo Constructor Description DefaultIndexingChain(int indexCreatedVersionMajor, SegmentInfo segmentInfo, Directory directory, FieldInfos.Builder fieldInfos, LiveIndexWriterConfig indexWriterConfig, java.util.function.Consumer<java.lang.Throwable> abortingExceptionConsumer)MergeState(java.util.List<CodecReader> originalReaders, SegmentInfo segmentInfo, InfoStream infoStream)Sole constructor.SegmentCommitInfo(SegmentInfo info, int delCount, int softDelCount, long delGen, long fieldInfosGen, long docValuesGen, byte[] id)Sole constructor.SegmentMerger(java.util.List<CodecReader> readers, SegmentInfo segmentInfo, InfoStream infoStream, Directory dir, FieldInfos.FieldNumbers fieldNumbers, IOContext context)SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context)Create aSegmentReadState.SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context, java.lang.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, java.lang.String segmentSuffix)Constructor which takes segment suffix.SortingStoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info)SortingTermVectorsConsumer(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Directory directory, SegmentInfo info, Codec codec)StoredFieldsConsumer(Codec codec, Directory directory, SegmentInfo info)TermVectorsConsumer(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Directory directory, SegmentInfo info, Codec codec)
-