@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Setting
Modifier and Type | Optional Element and Description |
---|---|
String |
indexStoreType
Index storage type for the index.
|
String |
refreshInterval
Refresh interval for the index.
|
short |
replicas
Number of replicas for the index.
|
String |
settingPath
Resource path for a settings configuration
|
short |
shards
Number of shards for the index.
|
String[] |
sortFields
fields to define an index sorting
|
Setting.SortMissing[] |
sortMissingValues
defines the missing value for
sortFields() . |
Setting.SortMode[] |
sortModes
defines the mode for
sortFields() . |
Setting.SortOrder[] |
sortOrders
defines the order for
sortFields() . |
boolean |
useServerConfiguration
Use server-side settings when creating the index.
|
public abstract String settingPath
public abstract boolean useServerConfiguration
public abstract short shards
public abstract short replicas
public abstract String refreshInterval
public abstract String indexStoreType
public abstract String[] sortFields
public abstract Setting.SortOrder[] sortOrders
sortFields()
. If present, it must have the same number of elementspublic abstract Setting.SortMode[] sortModes
sortFields()
. If present, it must have the same number of elementspublic abstract Setting.SortMissing[] sortMissingValues
sortFields()
. If present, it must have the same number of elementsCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.