@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
Index storage type for the index
indexName(). |
String |
refreshInterval
Refresh interval for the index
indexName(). |
short |
replicas
Number of replicas for the index
indexName(). |
short |
shards
Number of shards for the index
indexName(). |
boolean |
useServerConfiguration
Use server-side settings when creating the index.
|
org.elasticsearch.index.VersionType |
versionType
Configuration of version management.
|
public abstract String indexName
public abstract boolean useServerConfiguration
public abstract short shards
indexName(). Used for index creation. public abstract short replicas
indexName(). Used for index creation.public abstract String refreshInterval
indexName(). Used for index creation.public abstract String indexStoreType
indexName(). Used for index creation.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.