Skip to content

Commit 3e68d71

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 0fb162a commit 3e68d71

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/vector/Knn.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ public Knn(
116116
name = "min_candidates",
117117
type = "integer",
118118
valueHint = { "10" },
119-
description = "The minimum number of nearest neighbor candidates to consider per shard while doing knn search. " +
120-
" KNN may use a higher number of candidates in case the query can't use a approximate results. "
119+
description = "The minimum number of nearest neighbor candidates to consider per shard while doing knn search. "
120+
+ " KNN may use a higher number of candidates in case the query can't use a approximate results. "
121121
+ "Cannot exceed 10,000. Increasing min_candidates tends to improve the accuracy of the final results. "
122122
+ "Defaults to 1.5 * LIMIT used for the query."
123123
),

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushLimitToKnn.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import org.elasticsearch.xpack.esql.plan.logical.Limit;
1717
import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan;
1818
import org.elasticsearch.xpack.esql.plan.logical.TopN;
19-
import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan;
2019
import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank;
2120

2221
/**

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/querydsl/query/KnnQuery.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.util.Objects;
2121

2222
import static org.elasticsearch.index.query.AbstractQueryBuilder.BOOST_FIELD;
23-
import static org.elasticsearch.search.vectors.KnnVectorQueryBuilder.K_FIELD;
2423
import static org.elasticsearch.search.vectors.KnnVectorQueryBuilder.NUM_CANDS_FIELD;
2524
import static org.elasticsearch.search.vectors.KnnVectorQueryBuilder.VECTOR_SIMILARITY_FIELD;
2625

0 commit comments

Comments
 (0)