## Uses of Class
org.apache.lucene.index.FieldInfo

- Packages that use FieldInfo
  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 See `org.apache.lucene.codecs.lucene53` for an overview of the index format.
  org.apache.lucene.document | The logical representation of a `Document` for indexing and searching.
  org.apache.lucene.index | Code to maintain and access indices.

- - ### Uses of FieldInfo in org.apache.lucene.codecs

    Fields in org.apache.lucene.codecs declared as FieldInfo
    Modifier and Type | Field and Description
    --- | ---
    `protected FieldInfo` | PushPostingsWriterBase.`fieldInfo` `FieldInfo` of current field being written.

    Methods in org.apache.lucene.codecs with parameters of type FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | DocValuesConsumer.`addBinaryField(FieldInfo field, Iterable<BytesRef> values)` Writes binary docvalues for a field.
    `abstract void` | NormsConsumer.`addNormsField(FieldInfo field, Iterable<Number> values)` Writes normalization values for a field.
    `abstract void` | DocValuesConsumer.`addNumericField(FieldInfo field, Iterable<Number> values)` Writes numeric docvalues for a field.
    `abstract void` | DocValuesConsumer.`addSortedField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrd)` Writes pre-sorted binary docvalues for a field.
    `abstract void` | DocValuesConsumer.`addSortedNumericField(FieldInfo field, Iterable<Number> docToValueCount, Iterable<Number> values)` Writes pre-sorted numeric docvalues for a field
    `abstract void` | DocValuesConsumer.`addSortedSetField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrdCount, Iterable<Number> ords)` Writes pre-sorted set docvalues for a field
    `void` | StoredFieldsWriter.MergeVisitor.`binaryField(FieldInfo fieldInfo, byte[] value)`
    `abstract void` | PostingsReaderBase.`decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute)` Actually decode metadata for next term
    `void` | StoredFieldsWriter.MergeVisitor.`doubleField(FieldInfo fieldInfo, double value)`
    `abstract void` | PostingsWriterBase.`encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute)` Encode metadata as long[] and byte[].
    `void` | StoredFieldsWriter.MergeVisitor.`floatField(FieldInfo fieldInfo, float value)`
    `abstract BinaryDocValues` | DocValuesProducer.`getBinary(FieldInfo field)` Returns `BinaryDocValues` for this field.
    `abstract Bits` | DocValuesProducer.`getDocsWithField(FieldInfo field)` Returns a `Bits` at the size of `reader.maxDoc()`, with turned on bits for each docid that does have a value for this field.
    `abstract NumericDocValues` | NormsProducer.`getNorms(FieldInfo field)` Returns `NumericDocValues` for this field.
    `abstract NumericDocValues` | DocValuesProducer.`getNumeric(FieldInfo field)` Returns `NumericDocValues` for this field.
    `abstract SortedDocValues` | DocValuesProducer.`getSorted(FieldInfo field)` Returns `SortedDocValues` for this field.
    `abstract SortedNumericDocValues` | DocValuesProducer.`getSortedNumeric(FieldInfo field)` Returns `SortedNumericDocValues` for this field.
    `abstract SortedSetDocValues` | DocValuesProducer.`getSortedSet(FieldInfo field)` Returns `SortedSetDocValues` for this field.
    `void` | StoredFieldsWriter.MergeVisitor.`intField(FieldInfo fieldInfo, int value)`
    `void` | StoredFieldsWriter.MergeVisitor.`longField(FieldInfo fieldInfo, long value)`
    `void` | DocValuesConsumer.`mergeBinaryField(FieldInfo fieldInfo, MergeState mergeState, List<BinaryDocValues> toMerge, List<Bits> docsWithField)` Merges the binary docvalues from `toMerge`.
    `void` | NormsConsumer.`mergeNormsField(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge)` Merges the norms from `toMerge`.
    `void` | DocValuesConsumer.`mergeNumericField(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge, List<Bits> docsWithField)` Merges the numeric docvalues from `toMerge`.
    `void` | DocValuesConsumer.`mergeSortedField(FieldInfo fieldInfo, MergeState mergeState, List<SortedDocValues> toMerge)` Merges the sorted docvalues from `toMerge`.
    `void` | DocValuesConsumer.`mergeSortedNumericField(FieldInfo fieldInfo, MergeState mergeState, List<SortedNumericDocValues> toMerge)` Merges the sorted docvalues from `toMerge`.
    `void` | DocValuesConsumer.`mergeSortedSetField(FieldInfo fieldInfo, MergeState mergeState, List<SortedSetDocValues> toMerge)` Merges the sortedset docvalues from `toMerge`.
    `StoredFieldVisitor.Status` | StoredFieldsWriter.MergeVisitor.`needsField(FieldInfo fieldInfo)`
    `abstract PostingsEnum` | PostingsReaderBase.`postings(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags)` Must fully consume state, since after this call that TermState may be reused.
    `abstract int` | PostingsWriterBase.`setField(FieldInfo fieldInfo)` Sets 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.
    `int` | PushPostingsWriterBase.`setField(FieldInfo fieldInfo)` Sets 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 void` | TermVectorsWriter.`startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)` Called before writing the terms of the field.
    `void` | StoredFieldsWriter.MergeVisitor.`stringField(FieldInfo fieldInfo, byte[] value)`
    `abstract void` | StoredFieldsWriter.`writeField(FieldInfo info, IndexableField field)` Writes a single stored field.

  - ### Uses of FieldInfo in org.apache.lucene.codecs.compressing

    Methods in org.apache.lucene.codecs.compressing with parameters of type FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `void` | CompressingTermVectorsWriter.`startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)`
    `void` | CompressingStoredFieldsWriter.`writeField(FieldInfo info, IndexableField field)`

  - ### Uses of FieldInfo in org.apache.lucene.codecs.lucene50

    Methods in org.apache.lucene.codecs.lucene50 with parameters of type FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `void` | Lucene50PostingsReader.`decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)`
    `void` | Lucene50PostingsWriter.`encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute)`
    `PostingsEnum` | Lucene50PostingsReader.`postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)`
    `int` | Lucene50PostingsWriter.`setField(FieldInfo fieldInfo)`

  - ### Uses of FieldInfo in org.apache.lucene.document

    Methods in org.apache.lucene.document with parameters of type FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `void` | DocumentStoredFieldVisitor.`binaryField(FieldInfo fieldInfo, byte[] value)`
    `void` | DocumentStoredFieldVisitor.`doubleField(FieldInfo fieldInfo, double value)`
    `void` | DocumentStoredFieldVisitor.`floatField(FieldInfo fieldInfo, float value)`
    `void` | DocumentStoredFieldVisitor.`intField(FieldInfo fieldInfo, int value)`
    `void` | DocumentStoredFieldVisitor.`longField(FieldInfo fieldInfo, long value)`
    `StoredFieldVisitor.Status` | DocumentStoredFieldVisitor.`needsField(FieldInfo fieldInfo)`
    `void` | DocumentStoredFieldVisitor.`stringField(FieldInfo fieldInfo, byte[] value)`

  - ### Uses of FieldInfo in org.apache.lucene.index

    Methods in org.apache.lucene.index that return FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `FieldInfo` | FieldInfos.`fieldInfo(int fieldNumber)` Return the fieldinfo object referenced by the fieldNumber.
    `FieldInfo` | FieldInfos.`fieldInfo(String fieldName)` Return the fieldinfo object referenced by the field name

    Methods in org.apache.lucene.index that return types with arguments of type FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<FieldInfo>` | FieldInfos.`iterator()` Returns an iterator over all the fieldinfo objects present, ordered by ascending field number

    Methods in org.apache.lucene.index with parameters of type FieldInfo
    Modifier and Type | Method and Description
    --- | ---
    `void` | StoredFieldVisitor.`binaryField(FieldInfo fieldInfo, byte[] value)` Process a binary field.
    `void` | StoredFieldVisitor.`doubleField(FieldInfo fieldInfo, double value)` Process a double numeric field.
    `void` | StoredFieldVisitor.`floatField(FieldInfo fieldInfo, float value)` Process a float numeric field.
    `void` | StoredFieldVisitor.`intField(FieldInfo fieldInfo, int value)` Process a int numeric field.
    `void` | StoredFieldVisitor.`longField(FieldInfo fieldInfo, long value)` Process a long numeric field.
    `abstract StoredFieldVisitor.Status` | StoredFieldVisitor.`needsField(FieldInfo fieldInfo)` Hook before processing a field.
    `void` | StoredFieldVisitor.`stringField(FieldInfo fieldInfo, byte[] value)` Process a string field; the provided byte[] value is a UTF-8 encoded string value.

    Constructors in org.apache.lucene.index with parameters of type FieldInfo
    Constructor and Description
    `FieldInfos(FieldInfo[] infos)` Constructs a new FieldInfos from an array of FieldInfo objects

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.