Uses of Class
org.apache.lucene.index.FieldInfo
Packages that use FieldInfo
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.
Lucene 9.1 file format.
The logical representation of a
Document for indexing and
searching.Code to maintain and access indices.
Internal bridges to package-private internals, for use by the lucene test framework only.
-
Uses of FieldInfo in org.apache.lucene.codecs
Fields in org.apache.lucene.codecs declared as FieldInfoModifier and TypeFieldDescriptionprotected FieldInfoPushPostingsWriterBase.fieldInfoFieldInfoof current field being written.Methods in org.apache.lucene.codecs with parameters of type FieldInfoModifier and TypeMethodDescriptionabstract voidDocValuesConsumer.addBinaryField(FieldInfo field, DocValuesProducer valuesProducer) Writes binary docvalues for a field.abstract voidNormsConsumer.addNormsField(FieldInfo field, NormsProducer normsProducer) Writes normalization values for a field.abstract voidDocValuesConsumer.addNumericField(FieldInfo field, DocValuesProducer valuesProducer) Writes numeric docvalues for a field.abstract voidDocValuesConsumer.addSortedField(FieldInfo field, DocValuesProducer valuesProducer) Writes pre-sorted binary docvalues for a field.abstract voidDocValuesConsumer.addSortedNumericField(FieldInfo field, DocValuesProducer valuesProducer) Writes pre-sorted numeric docvalues for a fieldabstract voidDocValuesConsumer.addSortedSetField(FieldInfo field, DocValuesProducer valuesProducer) Writes pre-sorted set docvalues for a fieldvoidStoredFieldsWriter.MergeVisitor.binaryField(FieldInfo fieldInfo, byte[] value) abstract voidPostingsReaderBase.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Actually decode metadata for next termvoidStoredFieldsWriter.MergeVisitor.doubleField(FieldInfo fieldInfo, double value) abstract voidPostingsWriterBase.encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute) Encode metadata as long[] and byte[].voidStoredFieldsWriter.MergeVisitor.floatField(FieldInfo fieldInfo, float value) abstract BinaryDocValuesReturnsBinaryDocValuesfor this field.abstract NumericDocValuesReturnsNumericDocValuesfor this field.abstract NumericDocValuesDocValuesProducer.getNumeric(FieldInfo field) ReturnsNumericDocValuesfor this field.abstract SortedDocValuesReturnsSortedDocValuesfor this field.abstract SortedNumericDocValuesDocValuesProducer.getSortedNumeric(FieldInfo field) ReturnsSortedNumericDocValuesfor this field.abstract SortedSetDocValuesDocValuesProducer.getSortedSet(FieldInfo field) ReturnsSortedSetDocValuesfor this field.abstract ImpactsEnumPostingsReaderBase.impacts(FieldInfo fieldInfo, BlockTermState state, int flags) Return aImpactsEnumthat computes impacts withscorer.voidvoidvoidDocValuesConsumer.mergeBinaryField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the binary docvalues fromMergeState.voidNormsConsumer.mergeNormsField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the norms fromtoMerge.voidDocValuesConsumer.mergeNumericField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the numeric docvalues fromMergeState.protected voidPointsWriter.mergeOneField(MergeState mergeState, FieldInfo fieldInfo) Default naive merge implementation for one field: it just re-indexes all the values from the incoming segment.voidDocValuesConsumer.mergeSortedField(FieldInfo fieldInfo, MergeState mergeState) Merges the sorted docvalues fromtoMerge.voidDocValuesConsumer.mergeSortedNumericField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the sorted docvalues fromtoMerge.voidDocValuesConsumer.mergeSortedSetField(FieldInfo mergeFieldInfo, MergeState mergeState) Merges the sortedset docvalues fromtoMerge.StoredFieldsWriter.MergeVisitor.needsField(FieldInfo fieldInfo) abstract PostingsEnumPostingsReaderBase.postings(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags) Must fully consume state, since after this call that TermState may be reused.abstract voidSets the current field for writing.voidSets the current field for writing, and returns the fixed length of long[] metadata (which is fixed per field), called when the writing switches to another field.abstract voidTermVectorsWriter.startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads) Called before writing the terms of the field.voidStoredFieldsWriter.MergeVisitor.stringField(FieldInfo fieldInfo, String value) abstract voidKnnVectorsWriter.writeField(FieldInfo fieldInfo, KnnVectorsReader knnVectorsReader) Write all values contained in the provided readerabstract voidPointsWriter.writeField(FieldInfo fieldInfo, PointsReader values) Write all values contained in the provided readerabstract voidStoredFieldsWriter.writeField(FieldInfo info, IndexableField field) Writes a single stored field. -
Uses of FieldInfo in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 with parameters of type FieldInfoModifier and TypeMethodDescriptionvoidLucene90PostingsReader.decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) voidLucene90PostingsWriter.encodeTerm(DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute) Lucene90PostingsReader.impacts(FieldInfo fieldInfo, BlockTermState state, int flags) Lucene90PostingsReader.postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) voidvoidLucene90PointsWriter.writeField(FieldInfo fieldInfo, PointsReader reader) -
Uses of FieldInfo in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type FieldInfoModifier and TypeMethodDescriptionvoidLucene90CompressingTermVectorsWriter.startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads) voidLucene90CompressingStoredFieldsWriter.writeField(FieldInfo info, IndexableField field) -
Uses of FieldInfo in org.apache.lucene.codecs.lucene91
Methods in org.apache.lucene.codecs.lucene91 with parameters of type FieldInfoModifier and TypeMethodDescriptionvoidLucene91HnswVectorsWriter.writeField(FieldInfo fieldInfo, KnnVectorsReader knnVectorsReader) -
Uses of FieldInfo in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type FieldInfoModifier and TypeMethodDescriptionvoidDocumentStoredFieldVisitor.binaryField(FieldInfo fieldInfo, byte[] value) voidDocumentStoredFieldVisitor.doubleField(FieldInfo fieldInfo, double value) voidDocumentStoredFieldVisitor.floatField(FieldInfo fieldInfo, float value) voidvoidDocumentStoredFieldVisitor.needsField(FieldInfo fieldInfo) voidDocumentStoredFieldVisitor.stringField(FieldInfo fieldInfo, String value) -
Uses of FieldInfo in org.apache.lucene.index
Methods in org.apache.lucene.index that return FieldInfoModifier and TypeMethodDescriptionFieldInfos.fieldInfo(int fieldNumber) Return the fieldinfo object referenced by the fieldNumber.Return the fieldinfo object referenced by the field nameMethods in org.apache.lucene.index that return types with arguments of type FieldInfoModifier and TypeMethodDescriptionFieldInfos.iterator()Returns an iterator over all the fieldinfo objects present, ordered by ascending field numberMethods in org.apache.lucene.index with parameters of type FieldInfoModifier and TypeMethodDescriptionvoidStoredFieldVisitor.binaryField(FieldInfo fieldInfo, byte[] value) Process a binary field.voidStoredFieldVisitor.doubleField(FieldInfo fieldInfo, double value) Process a double numeric field.voidStoredFieldVisitor.floatField(FieldInfo fieldInfo, float value) Process a float numeric field.EmptyDocValuesProducer.getNumeric(FieldInfo field) EmptyDocValuesProducer.getSortedNumeric(FieldInfo field) EmptyDocValuesProducer.getSortedSet(FieldInfo field) voidProcess a int numeric field.voidProcess a long numeric field.abstract StoredFieldVisitor.StatusStoredFieldVisitor.needsField(FieldInfo fieldInfo) Hook before processing a field.voidStoredFieldVisitor.stringField(FieldInfo fieldInfo, String value) Process a string field.Constructors in org.apache.lucene.index with parameters of type FieldInfoModifierConstructorDescriptionFieldInfos(FieldInfo[] infos) Constructs a new FieldInfos from an array of FieldInfo objects -
Uses of FieldInfo in org.apache.lucene.internal.tests
Methods in org.apache.lucene.internal.tests with parameters of type FieldInfoModifier and TypeMethodDescription