diff --git a/adapter-milvus/src/main/java/io/nosqlbench/adapter/milvus/ops/MilvusDescribeIndexOp.java b/adapter-milvus/src/main/java/io/nosqlbench/adapter/milvus/ops/MilvusDescribeIndexOp.java index 9cf8ed575..e23aea7df 100644 --- a/adapter-milvus/src/main/java/io/nosqlbench/adapter/milvus/ops/MilvusDescribeIndexOp.java +++ b/adapter-milvus/src/main/java/io/nosqlbench/adapter/milvus/ops/MilvusDescribeIndexOp.java @@ -81,7 +81,7 @@ public class MilvusDescribeIndexOp extends MilvusBaseOp impl } public int percent() { - return stream().mapToInt(IndexStat::percent).max().orElse(0); + return stream().mapToInt(IndexStat::percent).min().orElse(0); } } public static final record IndexStat(