## Uses of Class
org.apache.lucene.document.Field

- Packages that use Field
  Package | Description
  --- | ---
  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 Field in org.apache.lucene.document

    Subclasses of Field in org.apache.lucene.document
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BinaryDocValuesField` Field that stores a per-document `BytesRef` value.
    `class` | `BinaryPoint` An indexed binary field for fast range filters.
    `class` | `DoubleDocValuesField` Syntactic sugar for encoding doubles as NumericDocValues via `Double.doubleToRawLongBits(double)`.
    `class` | `DoublePoint` An indexed `double` field for fast range filters.
    `class` | `DoubleRange` An indexed Double Range field.
    `class` | `FeatureField` `Field` that can be used to store static scoring factors into documents.
    `class` | `FloatDocValuesField` Syntactic sugar for encoding floats as NumericDocValues via `Float.floatToRawIntBits(float)`.
    `class` | `FloatPoint` An indexed `float` field for fast range filters.
    `class` | `FloatRange` An indexed Float Range field.
    `class` | `IntPoint` An indexed `int` field for fast range filters.
    `class` | `IntRange` An indexed Integer Range field.
    `class` | `LatLonDocValuesField` An per-document location field.
    `class` | `LatLonPoint` An indexed location field.
    `class` | `LongPoint` An indexed `long` field for fast range filters.
    `class` | `LongRange` An indexed Long Range field.
    `class` | `NumericDocValuesField` Field that stores a per-document `long` value for scoring, sorting or value retrieval.
    `class` | `SortedDocValuesField` Field that stores a per-document `BytesRef` value, indexed for sorting.
    `class` | `SortedNumericDocValuesField` Field that stores a per-document `long` values for scoring, sorting or value retrieval.
    `class` | `SortedSetDocValuesField` Field that stores a set of per-document `BytesRef` values, indexed for faceting,grouping,joining.
    `class` | `StoredField` A field whose value is stored so that `IndexSearcher.doc(int)` and `IndexReader.document()` will return the field and its value.
    `class` | `StringField` A field that is indexed but not tokenized: the entire String value is indexed as a single token.
    `class` | `TextField` A field that is indexed and tokenized, without term vectors.

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

    Methods in org.apache.lucene.index with parameters of type Field
    Modifier and Type | Method and Description
    --- | ---
    `long` | IndexWriter.`softUpdateDocument(Term term, Iterable<? extends IndexableField> doc, Field... softDeletes)` Expert: Updates a document by first updating the document(s) containing `term` with the given doc-values fields and then adding the new document.
    `long` | IndexWriter.`softUpdateDocuments(Term term, Iterable<? extends Iterable<? extends IndexableField>> docs, Field... softDeletes)` Expert: Atomically updates documents matching the provided term with the given doc-values fields and adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.
    `long` | IndexWriter.`tryUpdateDocValue(IndexReader readerIn, int docID, Field... fields)` Expert: attempts to update doc values by document ID, as long as the provided reader is a near-real-time reader (from `DirectoryReader.open(IndexWriter)`).
    `long` | IndexWriter.`updateDocValues(Term term, Field... updates)` Updates documents' DocValues fields to the given values.

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