@Retention(value=RUNTIME) @Target(value={FIELD,ANNOTATION_TYPE}) @Documented @Inherited public @interface Field
Modifier and Type | Optional Element and Description |
---|---|
String |
analyzer |
boolean |
coerce |
String[] |
copyTo |
int |
dims
to be used in combination with
FieldType.Dense_Vector |
boolean |
docValues |
Dynamic |
dynamic
Controls how Elasticsearch dynamically adds fields to the inner object within the document.
|
boolean |
eagerGlobalOrdinals |
boolean |
enabled
to be used in combination with
FieldType.Object |
boolean |
excludeFromSource
marks this field to be excluded from the _source in Elasticsearch
(https://www.elastic.co/guide/en/elasticsearch/reference/7.15/mapping-source-field.html#include-exclude)
|
boolean |
fielddata |
DateFormat[] |
format |
int |
ignoreAbove |
String[] |
ignoreFields |
boolean |
ignoreMalformed |
boolean |
includeInParent |
boolean |
index |
IndexOptions |
indexOptions |
boolean |
indexPhrases |
IndexPrefixes[] |
indexPrefixes
implemented as array to enable the empty default value
|
int |
maxShingleSize |
String |
name
The name to be used to store the field inside the document.
|
String |
normalizer |
boolean |
norms |
String |
nullValue |
NullValueType |
nullValueType |
String[] |
pattern |
int |
positionIncrementGap |
boolean |
positiveScoreImpact
to be used in combination with
FieldType.Rank_Feature |
double |
scalingFactor |
String |
searchAnalyzer |
Similarity |
similarity |
boolean |
store |
boolean |
storeNullValue
if true, the field will be stored in Elasticsearch even if it has a null value
|
TermVector |
termVector |
FieldType |
type |
String |
value
Alias for
name() . |
public abstract FieldType type
public abstract DateFormat[] format
public abstract String[] pattern
public abstract String searchAnalyzer
public abstract String analyzer
public abstract String normalizer
public abstract String[] ignoreFields
public abstract String[] copyTo
public abstract IndexOptions indexOptions
public abstract IndexPrefixes[] indexPrefixes
public abstract String nullValue
public abstract Similarity similarity
public abstract TermVector termVector
public abstract boolean storeNullValue
public abstract boolean positiveScoreImpact
FieldType.Rank_Feature
public abstract boolean enabled
FieldType.Object
public abstract NullValueType nullValueType
public abstract int dims
FieldType.Dense_Vector
public abstract Dynamic dynamic
FieldType.Object
or FieldType.Nested
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.