Module spring.data.elasticsearch
Annotation Interface InnerField
- Author:
- Artur Konczak, Mohsin Husen, Sascha Woo, Xiao Yu, Peter-Josef Meisch, Aleksei Arsenev, Brian Kimmig, Morgan Lutz, Haibo Liu, Andriy Redko
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanintto be used in combination withFieldType.Dense_Vectorbooleanbooleanto be used in combination withFieldType.Dense_Vectorbooleanintbooleanbooleanbooleanimplemented as array to enable the empty default valueto be used in combination withFieldType.Dense_Vectorto be used in combination withFieldType.Dense_Vectoroverrides the field type in the mapping which otherwise will be taken from correspondingFieldTypeintbooleanString[]intbooleanto be used in combination withFieldType.Rank_Featuredoubleboolean
-
Element Details
-
-
index
boolean index- Default:
- true
-
format
DateFormat[] format- Default:
- {date_optional_time, epoch_millis}
-
pattern
String[] pattern- Default:
- {}
-
store
boolean store- Default:
- false
-
fielddata
boolean fielddata- Default:
- false
-
searchAnalyzer
String searchAnalyzer- Default:
- ""
-
analyzer
String analyzer- Default:
- ""
-
normalizer
String normalizer- Default:
- ""
-
ignoreAbove
int ignoreAbove- Since:
- 4.0
- Default:
- -1
-
coerce
boolean coerce- Since:
- 4.0
- Default:
- true
-
docValues
boolean docValues- Since:
- 4.0
- Default:
- true
-
ignoreMalformed
boolean ignoreMalformed- Since:
- 4.0
- Default:
- false
-
indexOptions
IndexOptions indexOptions- Since:
- 4.0
- Default:
- none
-
indexPhrases
boolean indexPhrases- Since:
- 4.0
- Default:
- false
-
indexPrefixes
IndexPrefixes[] indexPrefixesimplemented as array to enable the empty default value- Since:
- 4.0
- Default:
- {}
-
norms
boolean norms- Since:
- 4.0
- Default:
- true
-
nullValue
String nullValue- Since:
- 4.0
- Default:
- ""
-
positionIncrementGap
int positionIncrementGap- Since:
- 4.0
- Default:
- -1
-
similarity
String similarity- Since:
- 4.0
- Default:
- "default"
-
termVector
TermVector termVector- Since:
- 4.0
- Default:
- none
-
scalingFactor
double scalingFactor- Since:
- 4.0
- Default:
- 1.0
-
maxShingleSize
int maxShingleSize- Since:
- 4.0
- Default:
- -1
-
positiveScoreImpact
boolean positiveScoreImpactto be used in combination withFieldType.Rank_Feature- Since:
- 4.1
- Default:
- true
-
eagerGlobalOrdinals
boolean eagerGlobalOrdinals- Since:
- 4.1
- Default:
- false
-
nullValueType
NullValueType nullValueType- Since:
- 4.1
- Default:
- String
-
dims
int dimsto be used in combination withFieldType.Dense_Vector- Since:
- 4.2
- Default:
- -1
-
elementType
String elementTypeto be used in combination withFieldType.Dense_Vector- Since:
- 5.4
- Default:
- ""
-
knnSimilarity
KnnSimilarity knnSimilarityto be used in combination withFieldType.Dense_Vector- Since:
- 5.4
- Default:
- DEFAULT
-
knnIndexOptions
KnnIndexOptions[] knnIndexOptionsto be used in combination withFieldType.Dense_Vector- Since:
- 5.4
- Default:
- {}
-
mappedTypeName
String mappedTypeNameoverrides the field type in the mapping which otherwise will be taken from correspondingFieldType- Since:
- 5.4
- Default:
- ""
-