diff --git a/src/main/java/org/noear/esearchx/model/EsTerms.java b/src/main/java/org/noear/esearchx/model/EsTerms.java index 1cf1b6e5e703b5c12eacb0480674433575c4e415..9c880673126972b35031ce23c9c54663bc15b143 100644 --- a/src/main/java/org/noear/esearchx/model/EsTerms.java +++ b/src/main/java/org/noear/esearchx/model/EsTerms.java @@ -41,6 +41,11 @@ public class EsTerms { return this; } + public EsTerms shardSize(int size) { + oNode.set("shard_size", size); + return this; + } + /** * 聚合模式 */