File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql
expression/function/vector Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff 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 ),
Original file line number Diff line number Diff line change 1616import org .elasticsearch .xpack .esql .plan .logical .Limit ;
1717import org .elasticsearch .xpack .esql .plan .logical .LogicalPlan ;
1818import org .elasticsearch .xpack .esql .plan .logical .TopN ;
19- import org .elasticsearch .xpack .esql .plan .logical .UnaryPlan ;
2019import org .elasticsearch .xpack .esql .plan .logical .inference .Rerank ;
2120
2221/**
Original file line number Diff line number Diff line change 2020import java .util .Objects ;
2121
2222import static org .elasticsearch .index .query .AbstractQueryBuilder .BOOST_FIELD ;
23- import static org .elasticsearch .search .vectors .KnnVectorQueryBuilder .K_FIELD ;
2423import static org .elasticsearch .search .vectors .KnnVectorQueryBuilder .NUM_CANDS_FIELD ;
2524import static org .elasticsearch .search .vectors .KnnVectorQueryBuilder .VECTOR_SIMILARITY_FIELD ;
2625
You can’t perform that action at this time.
0 commit comments