Uses of Class
org.apache.lucene.index.FieldInfos
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.0 file format.
Lucene 9.0 compressing format.
Code to maintain and access indices.
Internal bridges to package-private internals, for use by the lucene test framework only.
-
Uses of FieldInfos in org.apache.lucene.codecs
Modifier and TypeMethodDescriptionabstract FieldInfos
FieldInfosFormat.read
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) Modifier and TypeMethodDescriptionabstract StoredFieldsReader
StoredFieldsFormat.fieldsReader
(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Returns aStoredFieldsReader
to load stored fields.abstract TermVectorsReader
TermVectorsFormat.vectorsReader
(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) Returns aTermVectorsReader
to read term vectors.abstract void
FieldInfosFormat.write
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) Writes the providedFieldInfos
to the directory. -
Uses of FieldInfos in org.apache.lucene.codecs.lucene90
Modifier and TypeMethodDescriptionLucene90FieldInfosFormat.read
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext context) Modifier and TypeMethodDescriptionLucene90StoredFieldsFormat.fieldsReader
(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) void
Lucene90FieldInfosFormat.write
(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) -
Uses of FieldInfos in org.apache.lucene.codecs.lucene90.compressing
Modifier and TypeMethodDescriptionLucene90CompressingStoredFieldsFormat.fieldsReader
(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) final TermVectorsReader
Lucene90CompressingTermVectorsFormat.vectorsReader
(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) ModifierConstructorDescriptionLucene90CompressingStoredFieldsReader
(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor.Lucene90CompressingTermVectorsReader
(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor. -
Uses of FieldInfos in org.apache.lucene.index
Modifier and TypeFieldDescriptionstatic final FieldInfos
FieldInfos.EMPTY
An instance without any fields.final FieldInfos[]
MergeState.fieldInfos
FieldInfos being mergedfinal FieldInfos
SegmentReadState.fieldInfos
FieldInfos
describing all fields in this segment.final FieldInfos
SegmentWriteState.fieldInfos
FieldInfos
describing all fields in this segment.MergeState.mergeFieldInfos
FieldInfos
of the newly merged segment.Modifier and TypeMethodDescriptionFilterCodecReader.getFieldInfos()
FilterLeafReader.getFieldInfos()
abstract FieldInfos
LeafReader.getFieldInfos()
Get theFieldInfos
describing all fields in this reader.ParallelLeafReader.getFieldInfos()
Get theFieldInfos
describing all fields in this reader.SegmentReader.getFieldInfos()
static FieldInfos
FieldInfos.getMergedFieldInfos
(IndexReader reader) Call this to get the (merged) FieldInfos for a composite reader.ModifierConstructorDescriptionSegmentReadState
(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, org.apache.lucene.index.BufferedUpdates segUpdates, IOContext context) Sole constructor.SegmentWriteState
(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, org.apache.lucene.index.BufferedUpdates segUpdates, IOContext context, String segmentSuffix) Constructor which takes segment suffix. -
Uses of FieldInfos in org.apache.lucene.internal.tests