@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Document
| Modifier and Type | Required Element and Description |
|---|---|
String |
indexName
Name of the Elasticsearch index.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
createIndex
Configuration whether to create an index on repository bootstrapping.
|
String |
indexStoreType
Deprecated.
since 4.2, use the
Setting annotation to configure settings |
String |
refreshInterval
Deprecated.
since 4.2, use the
Setting annotation to configure settings |
short |
replicas
Deprecated.
since 4.2, use the
Setting annotation to configure settings |
short |
shards
Deprecated.
since 4.2, use the
Setting annotation to configure settings |
boolean |
useServerConfiguration
Deprecated.
since 4.2, use the
Setting annotation to configure settings |
org.elasticsearch.index.VersionType |
versionType
Configuration of version management.
|
public abstract String indexName
@Deprecated public abstract boolean useServerConfiguration
Setting annotation to configure settings@Deprecated public abstract short shards
Setting annotation to configure settingsindexName(). Used for index creation. @Deprecated public abstract short replicas
Setting annotation to configure settingsindexName(). Used for index creation.@Deprecated public abstract String refreshInterval
Setting annotation to configure settingsindexName(). Used for index creation.@Deprecated public abstract String indexStoreType
Setting annotation to configure settingsindexName(). Used for index creation.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.