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

- Packages that use FieldType
  Package | Description
  --- | ---
  org.apache.lucene.document | The logical representation of a `Document` for indexing and searching.

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

    Fields in org.apache.lucene.document declared as FieldType
    Modifier and Type | Field and Description
    --- | ---
    `protected FieldType` | Field.`type` Field's type
    `static FieldType` | SortedDocValuesField.`TYPE` Type for sorted bytes DocValues
    `static FieldType` | SortedSetDocValuesField.`TYPE` Type for sorted bytes DocValues
    `static FieldType` | NumericDocValuesField.`TYPE` Type for numeric DocValues.
    `static FieldType` | SortedNumericDocValuesField.`TYPE` Type for sorted numeric DocValues.
    `static FieldType` | StoredField.`TYPE` Type for a stored-only field.
    `static FieldType` | BinaryDocValuesField.`TYPE` Type for straight bytes DocValues.
    `static FieldType` | IntField.`TYPE_NOT_STORED` Type for an IntField that is not stored: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | LongField.`TYPE_NOT_STORED` Type for a LongField that is not stored: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | FloatField.`TYPE_NOT_STORED` Type for a FloatField that is not stored: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | TextField.`TYPE_NOT_STORED` Indexed, tokenized, not stored.
    `static FieldType` | DoubleField.`TYPE_NOT_STORED` Type for a DoubleField that is not stored: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | StringField.`TYPE_NOT_STORED` Indexed, not tokenized, omits norms, indexes DOCS_ONLY, not stored.
    `static FieldType` | IntField.`TYPE_STORED` Type for a stored IntField: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | LongField.`TYPE_STORED` Type for a stored LongField: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | FloatField.`TYPE_STORED` Type for a stored FloatField: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | TextField.`TYPE_STORED` Indexed, tokenized, stored.
    `static FieldType` | DoubleField.`TYPE_STORED` Type for a stored DoubleField: normalization factors, frequencies, and positions are omitted.
    `static FieldType` | StringField.`TYPE_STORED` Indexed, not tokenized, omits norms, indexes DOCS_ONLY, stored

    Methods in org.apache.lucene.document that return FieldType
    Modifier and Type | Method and Description
    --- | ---
    `FieldType` | Field.`fieldType()` Returns the `FieldType` for this field.
    `static FieldType` | Field.`translateFieldType(Field.Store store, Field.Index index, Field.TermVector termVector)` Deprecated. This is here only to ease transition from the pre-4.0 APIs.

    Constructors in org.apache.lucene.document with parameters of type FieldType
    Constructor and Description
    `DoubleField(String name, double value, FieldType type)` Expert: allows you to customize the `FieldType`.
    `Field(String name, byte[] value, FieldType type)` Create field with binary value.
    `Field(String name, byte[] value, int offset, int length, FieldType type)` Create field with binary value.
    `Field(String name, BytesRef bytes, FieldType type)` Create field with binary value.
    `Field(String name, FieldType type)` Expert: creates a field with no initial value.
    `Field(String name, Reader reader, FieldType type)` Create field with Reader value.
    `Field(String name, String value, FieldType type)` Create field with String value.
    `Field(String name, TokenStream tokenStream, FieldType type)` Create field with TokenStream value.
    `FieldType(FieldType ref)` Create a new mutable FieldType with all of the properties from `ref`
    `FloatField(String name, float value, FieldType type)` Expert: allows you to customize the `FieldType`.
    `IntField(String name, int value, FieldType type)` Expert: allows you to customize the `FieldType`.
    `LongField(String name, long value, FieldType type)` Expert: allows you to customize the `FieldType`.

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