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

Packages that use Fields
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.lucene40 | Lucene 4.0 file format.
org.apache.lucene.index | Code to maintain and access indices.

### Uses of Fields in org.apache.lucene.codecs

Subclasses of Fields in org.apache.lucene.codecs
Modifier and Type | Class and Description
--- | ---
`class` | `BlockTreeTermsReader` A block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes.
`class` | `FieldsProducer` Abstract API that produces terms, doc, freq, prox, offset and payloads postings.

Methods in org.apache.lucene.codecs that return Fields
Modifier and Type | Method and Description
--- | ---
`abstract Fields` | TermVectorsReader.`get(int doc)` Returns term vectors for this document, or null if term vectors were not indexed.

Methods in org.apache.lucene.codecs with parameters of type Fields
Modifier and Type | Method and Description
--- | ---
`protected void` | TermVectorsWriter.`addAllDocVectors(Fields vectors, MergeState mergeState)` Safe (but, slowish) default method to write every vector field in the document.
`void` | FieldsConsumer.`merge(MergeState mergeState, Fields fields)` Called during merging to merge all `Fields` from sub-readers.

### Uses of Fields in org.apache.lucene.codecs.compressing

Methods in org.apache.lucene.codecs.compressing that return Fields
Modifier and Type | Method and Description
--- | ---
`Fields` | CompressingTermVectorsReader.`get(int doc)`

### Uses of Fields in org.apache.lucene.codecs.lucene40

Methods in org.apache.lucene.codecs.lucene40 that return Fields
Modifier and Type | Method and Description
--- | ---
`Fields` | Lucene40TermVectorsReader.`get(int docID)`

### Uses of Fields in org.apache.lucene.index

Subclasses of Fields in org.apache.lucene.index
Modifier and Type | Class and Description
--- | ---
`static class` | `FilterAtomicReader.FilterFields` Base class for filtering `Fields` implementations.
`class` | `MultiFields` Exposes flex API, merged from flex API of sub-segments.

Fields in org.apache.lucene.index declared as Fields
Modifier and Type | Field and Description
--- | ---
`static Fields[]` | Fields.`EMPTY_ARRAY` Zero-length `Fields` array.
`protected Fields` | FilterAtomicReader.FilterFields.`in` The underlying Fields instance.

Methods in org.apache.lucene.index that return Fields
Modifier and Type | Method and Description
--- | ---
`Fields` | SlowCompositeReaderWrapper.`fields()`
`Fields` | SegmentReader.`fields()`
`Fields` | ParallelAtomicReader.`fields()`
`Fields` | FilterAtomicReader.`fields()`
`abstract Fields` | AtomicReader.`fields()` Returns `Fields` for this reader.
`static Fields` | MultiFields.`getFields(IndexReader reader)` Returns a single `Fields` instance for this reader, merging fields/terms/docs/positions on the fly.
`Fields` | SlowCompositeReaderWrapper.`getTermVectors(int docID)`
`Fields` | SegmentReader.`getTermVectors(int docID)`
`Fields` | ParallelAtomicReader.`getTermVectors(int docID)`
`abstract Fields` | IndexReader.`getTermVectors(int docID)` Retrieve term vectors for this document, or null if term vectors were not indexed.
`Fields` | FilterAtomicReader.`getTermVectors(int docID)`
`Fields` | BaseCompositeReader.`getTermVectors(int docID)`

Constructors in org.apache.lucene.index with parameters of type Fields
Constructor and Description
`FilterAtomicReader.FilterFields(Fields in)` Creates a new FilterFields.
`MultiFields(Fields[] subs, ReaderSlice[] subSlices)` Expert: construct a new MultiFields instance directly.