KeywordField
Creates a new KeywordField.
Parameters
name
field name
value
the BytesRef value
stored
whether to store the field
Throws
if the field name or value is null.
Creates a new KeywordField from a String value, by indexing its UTF-8 representation.
Parameters
name
field name
value
the BytesRef value
stored
whether to store the field
Throws
if the field name or value is null.