Uses of Class
org.apache.lucene.index.FieldInfos
Packages that use FieldInfos
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
BlockTree terms dictionary.
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format.Components from the Lucene 6.0 index format.
Components from the Lucene 7.0 index format.
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format.Lucene 8.7 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.
High-performance single-document main memory Apache Lucene fulltext search index.
Highlighting search terms.
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
-
Uses of FieldInfos in org.apache.lucene.codecs
Fields in org.apache.lucene.codecs declared as FieldInfosModifier and TypeFieldDescription(package private) FieldInfosStoredFieldsWriter.MergeVisitor.remapperMethods in org.apache.lucene.codecs that return FieldInfosModifier and TypeMethodDescriptionabstract FieldInfosFieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) Methods in org.apache.lucene.codecs with parameters of type FieldInfosModifier and TypeMethodDescriptionabstract StoredFieldsReaderStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) Returns aStoredFieldsReaderto load stored fields.abstract voidStoredFieldsWriter.finish(FieldInfos fis, int numDocs) Called beforeStoredFieldsWriter.close(), passing in the number of documents that were written.abstract voidTermVectorsWriter.finish(FieldInfos fis, int numDocs) Called beforeTermVectorsWriter.close(), passing in the number of documents that were written.abstract TermVectorsReaderTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) Returns aTermVectorsReaderto read term vectors.abstract voidFieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) Writes the providedFieldInfosto the directory. -
Uses of FieldInfos in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as FieldInfosModifier and TypeFieldDescription(package private) final FieldInfosBlockTermsWriter.fieldInfosprivate final FieldInfosVariableGapTermsIndexWriter.fieldInfos -
Uses of FieldInfos in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as FieldInfosModifier and TypeFieldDescription(package private) final FieldInfosBlockTreeTermsWriter.fieldInfos -
Uses of FieldInfos in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as FieldInfosModifier and TypeFieldDescription(package private) final FieldInfosOrdsBlockTreeTermsWriter.fieldInfos -
Uses of FieldInfos in org.apache.lucene.codecs.compressing
Fields in org.apache.lucene.codecs.compressing declared as FieldInfosModifier and TypeFieldDescriptionprivate final FieldInfosCompressingStoredFieldsReader.fieldInfosprivate final FieldInfosCompressingTermVectorsReader.fieldInfosMethods in org.apache.lucene.codecs.compressing with parameters of type FieldInfosModifier and TypeMethodDescriptionCompressingStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) voidCompressingStoredFieldsWriter.finish(FieldInfos fis, int numDocs) voidCompressingTermVectorsWriter.finish(FieldInfos fis, int numDocs) final TermVectorsReaderCompressingTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) Constructors in org.apache.lucene.codecs.compressing with parameters of type FieldInfosModifierConstructorDescriptionCompressingStoredFieldsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor.CompressingTermVectorsReader(Directory d, SegmentInfo si, String segmentSuffix, FieldInfos fn, IOContext context, String formatName, CompressionMode compressionMode) Sole constructor. -
Uses of FieldInfos in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as FieldInfosModifier and TypeFieldDescription(package private) final FieldInfosVersionBlockTreeTermsWriter.fieldInfos -
Uses of FieldInfos in org.apache.lucene.codecs.lucene50
Methods in org.apache.lucene.codecs.lucene50 that return FieldInfosModifier and TypeMethodDescriptionLucene50FieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext context) Methods in org.apache.lucene.codecs.lucene50 with parameters of type FieldInfosModifier and TypeMethodDescriptionfinal StoredFieldsReaderLucene50StoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) voidLucene50FieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) -
Uses of FieldInfos in org.apache.lucene.codecs.lucene60
Methods in org.apache.lucene.codecs.lucene60 that return FieldInfosModifier and TypeMethodDescriptionLucene60FieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext context) Methods in org.apache.lucene.codecs.lucene60 with parameters of type FieldInfosModifier and TypeMethodDescriptionvoidLucene60FieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) -
Uses of FieldInfos in org.apache.lucene.codecs.lucene70
Methods in org.apache.lucene.codecs.lucene70 with parameters of type FieldInfosModifier and TypeMethodDescriptionprivate voidLucene70DocValuesProducer.readFields(ChecksumIndexInput meta, FieldInfos infos) private voidLucene70NormsProducer.readFields(IndexInput meta, FieldInfos infos) -
Uses of FieldInfos in org.apache.lucene.codecs.lucene80
Methods in org.apache.lucene.codecs.lucene80 with parameters of type FieldInfosModifier and TypeMethodDescriptionprivate voidLucene80DocValuesProducer.readFields(String segmentName, ChecksumIndexInput meta, FieldInfos infos) private voidLucene80NormsProducer.readFields(IndexInput meta, FieldInfos infos) -
Uses of FieldInfos in org.apache.lucene.codecs.lucene87
Methods in org.apache.lucene.codecs.lucene87 with parameters of type FieldInfosModifier and TypeMethodDescriptionLucene87StoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) -
Uses of FieldInfos in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as FieldInfosMethods in org.apache.lucene.codecs.memory with parameters of type FieldInfosModifier and TypeMethodDescriptionprivate intDirectDocValuesProducer.readFields(IndexInput meta, FieldInfos infos) -
Uses of FieldInfos in org.apache.lucene.codecs.perfield
Subclasses of FieldInfos in org.apache.lucene.codecs.perfieldFields in org.apache.lucene.codecs.perfield declared as FieldInfosModifier and TypeFieldDescriptionprivate final FieldInfos[]PerFieldMergeState.orgFieldInfosprivate final FieldInfosPerFieldMergeState.orgMergeFieldInfosMethods in org.apache.lucene.codecs.perfield with parameters of type FieldInfosModifier and TypeMethodDescriptionprivate static FieldInfo[]PerFieldMergeState.FilterFieldInfos.toArray(FieldInfos src) Constructors in org.apache.lucene.codecs.perfield with parameters of type FieldInfosModifierConstructorDescription(package private)FilterFieldInfos(FieldInfos src, Collection<String> filterFields) -
Uses of FieldInfos in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as FieldInfosModifier and TypeFieldDescriptionprivate final FieldInfosSimpleTextFieldsReader.fieldInfosprivate final FieldInfosSimpleTextStoredFieldsReader.fieldInfosMethods in org.apache.lucene.codecs.simpletext that return FieldInfosModifier and TypeMethodDescriptionSimpleTextFieldInfosFormat.read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) Methods in org.apache.lucene.codecs.simpletext with parameters of type FieldInfosModifier and TypeMethodDescriptionSimpleTextStoredFieldsFormat.fieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) voidSimpleTextStoredFieldsWriter.finish(FieldInfos fis, int numDocs) voidSimpleTextTermVectorsWriter.finish(FieldInfos fis, int numDocs) SimpleTextTermVectorsFormat.vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context) voidSimpleTextFieldInfosFormat.write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) voidSimpleTextFieldsWriter.write(FieldInfos fieldInfos, Fields fields) Constructors in org.apache.lucene.codecs.simpletext with parameters of type FieldInfosModifierConstructorDescription(package private)SimpleTextStoredFieldsReader(long[] offsets, IndexInput in, FieldInfos fieldInfos) SimpleTextStoredFieldsReader(Directory directory, SegmentInfo si, FieldInfos fn, IOContext context) -
Uses of FieldInfos in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as FieldInfosMethods in org.apache.lucene.codecs.uniformsplit with parameters of type FieldInfosModifier and TypeMethodDescriptionprotected voidUniformSplitTermsReader.fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos) FieldMetadata.Serializer.read(DataInput input, FieldInfos fieldInfos, int maxNumDocs) protected Collection<FieldMetadata> UniformSplitTermsReader.readEncodedFieldsMetadata(int numFields, DataInput metadataInput, BlockDecoder blockDecoder, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs) protected Collection<FieldMetadata> UniformSplitTermsReader.readFieldsMetadata(IndexInput indexInput, BlockDecoder blockDecoder, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs) protected Collection<FieldMetadata> UniformSplitTermsReader.readUnencodedFieldsMetadata(int numFields, DataInput metadataInput, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs) -
Uses of FieldInfos in org.apache.lucene.index
Fields in org.apache.lucene.index declared as FieldInfosModifier and TypeFieldDescription(package private) final FieldInfosSegmentCoreReaders.coreFieldInfosfieldinfos for this core: means gen=-1.static final FieldInfosFieldInfos.EMPTYAn instance without any fields.(package private) final FieldInfosDocumentsWriterPerThread.FlushedSegment.fieldInfosfinal FieldInfos[]MergeState.fieldInfosFieldInfos being mergedprivate final FieldInfosParallelLeafReader.fieldInfos(package private) final FieldInfosSegmentReader.fieldInfosfinal FieldInfosSegmentReadState.fieldInfosFieldInfosdescribing all fields in this segment.final FieldInfosSegmentWriteState.fieldInfosFieldInfosdescribing all fields in this segment.MergeState.mergeFieldInfosFieldInfosof the newly merged segment.Methods in org.apache.lucene.index that return FieldInfosModifier and TypeMethodDescription(package private) FieldInfosFieldInfos.Builder.finish()FilterCodecReader.getFieldInfos()FilterLeafReader.getFieldInfos()abstract FieldInfosLeafReader.getFieldInfos()Get theFieldInfosdescribing all fields in this reader.MergeReaderWrapper.getFieldInfos()ParallelLeafReader.getFieldInfos()Get theFieldInfosdescribing all fields in this reader.SegmentReader.getFieldInfos()static FieldInfosFieldInfos.getMergedFieldInfos(IndexReader reader) Call this to get the (merged) FieldInfos for a composite reader.private FieldInfosSegmentReader.initFieldInfos()init most recent FieldInfos for the current commit(package private) static FieldInfosIndexWriter.readFieldInfos(SegmentCommitInfo si) private FieldInfosPendingSoftDeletes.readFieldInfos()Methods in org.apache.lucene.index with parameters of type FieldInfosModifier and TypeMethodDescriptionvoidFieldInfos.Builder.add(FieldInfos other) private static CheckIndex.Status.TermIndexStatusCheckIndex.checkFields(Fields fields, Bits liveDocs, int maxDoc, FieldInfos fieldInfos, NormsProducer normsProducer, boolean doPrint, boolean isVectors, PrintStream infoStream, boolean verbose, boolean doSlowChecks) checks Fields api is consistent with itself.(package private) DocValuesProducerSegmentDocValues.getDocValuesProducer(long gen, SegmentCommitInfo si, Directory dir, FieldInfos infos) Returns theDocValuesProducerfor the given generation.private voidReadersAndUpdates.handleDVUpdates(FieldInfos infos, Directory dir, DocValuesFormat dvFormat, SegmentReader reader, Map<Integer, Set<String>> fieldFiles, long maxDelGen, InfoStream infoStream) private RefCount<DocValuesProducer> SegmentDocValues.newDocValuesProducer(SegmentCommitInfo si, Directory dir, Long gen, FieldInfos infos) private voidIndexWriter.publishFlushedSegment(SegmentCommitInfo newSegment, FieldInfos fieldInfos, FrozenBufferedUpdates packet, FrozenBufferedUpdates globalPacket, Sorter.DocMap sortMap) Atomically adds the segment private delete packet and publishes the flushed segments SegmentInfo to the index writer.ReadersAndUpdates.writeFieldInfosGen(FieldInfos fieldInfos, Directory dir, FieldInfosFormat infosFormat) private static voidSortingTermVectorsConsumer.writeTermVectors(TermVectorsWriter writer, Fields vectors, FieldInfos fieldInfos) Safe (but, slowish) default method to copy every vector field in the providedTermVectorsWriter.Constructors in org.apache.lucene.index with parameters of type FieldInfosModifierConstructorDescriptionprivateFlushedSegment(InfoStream infoStream, SegmentCommitInfo segmentInfo, FieldInfos fieldInfos, BufferedUpdates segmentUpdates, FixedBitSet liveDocs, int delCount, Sorter.DocMap sortMap) (package private)SegmentDocValuesProducer(SegmentCommitInfo si, Directory dir, FieldInfos coreInfos, FieldInfos allInfos, SegmentDocValues segDocValues) Creates a new producer that handles updated docvalues fieldsSegmentReadState(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. -
Uses of FieldInfos in org.apache.lucene.index.memory
Fields in org.apache.lucene.index.memory declared as FieldInfosModifier and TypeFieldDescriptionprivate final FieldInfosMemoryIndex.MemoryIndexReader.fieldInfosMethods in org.apache.lucene.index.memory that return FieldInfos -
Uses of FieldInfos in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as FieldInfosMethods in org.apache.lucene.search.highlight that return FieldInfosModifier and TypeMethodDescriptionTermVectorLeafReader.getFieldInfos()WeightedSpanTermExtractor.DelegatingLeafReader.getFieldInfos() -
Uses of FieldInfos in org.apache.lucene.search.uhighlight
Fields in org.apache.lucene.search.uhighlight declared as FieldInfosMethods in org.apache.lucene.search.uhighlight that return FieldInfosModifier and TypeMethodDescriptionPhraseHelper.SingleFieldWithOffsetsFilterLeafReader.getFieldInfos()