## 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 | Description
    --- | --- | ---
    `protected static FieldType` | ShapeDocValuesField.`FIELD_TYPE` | FieldType for ShapeDocValues field
    `static FieldType` | BinaryDocValuesField.`TYPE` | Type for straight bytes DocValues.
    `static FieldType` | LatLonDocValuesField.`TYPE` | Type for a LatLonDocValuesField
    `static FieldType` | LatLonPoint.`TYPE` | Type for an indexed LatLonPoint
    `static FieldType` | NumericDocValuesField.`TYPE` | Type for numeric DocValues.
    `protected static FieldType` | ShapeField.`TYPE` | tessellated triangles are seven dimensions; the first four are the bounding box index dimensions
    `static FieldType` | SortedDocValuesField.`TYPE` | Type for sorted bytes DocValues
    `static FieldType` | SortedNumericDocValuesField.`TYPE` | Type for sorted numeric DocValues.
    `static FieldType` | SortedSetDocValuesField.`TYPE` | Type for sorted bytes DocValues
    `static FieldType` | StoredField.`TYPE` | Type for a stored-only field.
    `static FieldType` | XYDocValuesField.`TYPE` | Type for a XYDocValuesField
    `static FieldType` | XYPointField.`TYPE` | Type for an indexed XYPoint
    `static FieldType` | StringField.`TYPE_NOT_STORED` | Indexed, not tokenized, omits norms, indexes DOCS_ONLY, not stored.
    `static FieldType` | TextField.`TYPE_NOT_STORED` | Indexed, tokenized, not stored.
    `static FieldType` | StringField.`TYPE_STORED` | Indexed, not tokenized, omits norms, indexes DOCS_ONLY, stored
    `static FieldType` | TextField.`TYPE_STORED` | Indexed, tokenized, stored.

    Methods in org.apache.lucene.document that return FieldType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static FieldType` | KnnByteVectorField.`createFieldType​(int dimension, VectorSimilarityFunction similarityFunction)` | A convenience method for creating a vector field type.
    `static FieldType` | KnnFloatVectorField.`createFieldType​(int dimension, VectorSimilarityFunction similarityFunction)` | A convenience method for creating a vector field type.

    Constructors in org.apache.lucene.document with parameters of type FieldType
    Constructor | Description
    --- | ---
    `KnnByteVectorField​(String name, byte[] vector, FieldType fieldType)` | Creates a numeric vector field.
    `KnnFloatVectorField​(String name, float[] vector, FieldType fieldType)` | Creates a numeric vector field.
    `KnnVectorField​(String name, float[] vector, FieldType fieldType)` | Deprecated. Creates a numeric vector field.
    `StoredField​(String name, CharSequence value, FieldType type)` | Expert: allows you to customize the `FieldType`.
    `StoredField​(String name, String value, FieldType type)` | Expert: allows you to customize the `FieldType`.
    `StoredField​(String name, FieldType type)` | Expert: allows you to customize the `FieldType`.
    `StoredField​(String name, BytesRef bytes, FieldType type)` | Expert: allows you to customize the `FieldType`.