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

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

## Uses of Field.Store in org.apache.lucene.document

Methods in org.apache.lucene.document that return Field.Store
Modifier and Type
Method
Description
`static Field.Store`
Field.Store.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static Field.Store[]`
Field.Store.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Constructors in org.apache.lucene.document with parameters of type Field.Store
Modifier
Constructor
Description
``
`DoubleField(String name, double value, Field.Store stored)`
Creates a new DoubleField, indexing the provided point, storing it as a DocValue, and optionally storing it as a stored field.
``
`FloatField(String name, float value, Field.Store stored)`
Creates a new FloatField, indexing the provided point, storing it as a DocValue, and optionally storing it as a stored field.
``
`IntField(String name, int value, Field.Store stored)`
Creates a new IntField, indexing the provided point, storing it as a DocValue, and optionally storing it as a stored field.
``
`KeywordField(String name, String value, Field.Store stored)`
Creates a new KeywordField from a String value, by indexing its UTF-8 representation.
``
`KeywordField(String name, BytesRef value, Field.Store stored)`
Creates a new KeywordField.
``
`LongField(String name, long value, Field.Store stored)`
Creates a new LongField, indexing the provided point, storing it as a DocValue, and optionally storing it as a stored field.
``
`StringField(String name, String value, Field.Store stored)`
Creates a new textual StringField, indexing the provided String value as a single token.
``
`StringField(String name, BytesRef value, Field.Store stored)`
Creates a new binary StringField, indexing the provided binary (BytesRef) value as a single token.
``
`TextField(String name, String value, Field.Store store)`
Creates a new TextField with String value.