Annotation Interface Setting
Elasticsearch Setting
- Author:
- Mohsin Husen, Peter-Josef Meisch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enum -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionIndex storage type for the index.Refresh interval for the index.shortNumber of replicas for the index.Resource path for a settings configurationshortNumber of shards for the index.String[]fields to define an index sortingdefines the missing value forsortFields().defines the mode forsortFields().defines the order forsortFields().booleanUse server-side settings when creating the index.
-
Element Details
-
settingPath
-
useServerConfiguration
boolean useServerConfigurationUse server-side settings when creating the index.- Default:
false
-
shards
short shardsNumber of shards for the index. Used for index creation.
With version 4.0, the default value is changed from 5 to 1 to reflect the change in the default settings of Elasticsearch which changed to 1 as well in Elasticsearch 7.0.- Default:
1
-
replicas
short replicasNumber of replicas for the index. Used for index creation.- Default:
1
-
refreshInterval
-
indexStoreType
-
sortFields
-
sortOrders
Setting.SortOrder[] sortOrdersdefines the order forsortFields(). If present, it must have the same number of elements- Since:
- 4.2
- Default:
{}
-
sortModes
Setting.SortMode[] sortModesdefines the mode forsortFields(). If present, it must have the same number of elements- Since:
- 4.2
- Default:
{}
-
sortMissingValues
Setting.SortMissing[] sortMissingValuesdefines the missing value forsortFields(). If present, it must have the same number of elements- Since:
- 4.2
- Default:
{}
-