注释类型 ESDocument
-
@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface ESDocument
- 从以下版本开始:
- 2021/5/2
- 作者:
- Ranger
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 intreplicasNumber of replicas for the indexindexName().intshardsNumber of shards for the indexindexName().
-
-
-
元素详细资料
-
indexName
String indexName
Name of the Elasticsearch index.- Lowercase only
, |, ` ` (space character), ,, #/li> - Cannot start with -, _, +
- Cannot be . or ..
- Cannot be longer than 255 bytes (note it is bytes, so multi-byte characters will count towards the 255 limit faster)
-
-
-
shards
int shards
Number of shards for the indexindexName(). Used for index creation.- 默认值:
- 0
-
-
-
replicas
int replicas
Number of replicas for the indexindexName(). Used for index creation.- 默认值:
- 0
-
-