@Retention(value=RUNTIME) @Target(value=FIELD) @Documented @Inherited public @interface Field
Modifier and Type | Optional Element and Description |
---|---|
String |
analyzer |
boolean |
coerce |
String[] |
copyTo |
boolean |
docValues |
boolean |
eagerGlobalOrdinals |
boolean |
enabled
to be used in combination with
FieldType.Object |
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
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.