@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.
|
Dynamic |
dynamic
Controls how Elasticsearch dynamically adds fields to the document.
|
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 |
Document.VersionType |
versionType
Configuration of version management.
|
WriteTypeHint |
writeTypeHint
Defines if type hints should be written.
|
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.public abstract boolean createIndex
public abstract Document.VersionType versionType
public abstract WriteTypeHint writeTypeHint
WriteTypeHint.public abstract Dynamic dynamic
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.