Skip to content

Commit 5d401fc

Browse files
committed
Remove knnSearchWithKOption as it makes no sense now
1 parent ab1943e commit 5d401fc

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,6 @@ tests:
511511
- class: org.elasticsearch.entitlement.runtime.policy.FileAccessTreeTests
512512
method: testWindowsAbsolutPathAccess
513513
issue: https://github.com/elastic/elasticsearch/issues/129168
514-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
515-
method: test {knn-function.KnnSearchWithKOption ASYNC}
516-
issue: https://github.com/elastic/elasticsearch/issues/129447
517514
- class: org.elasticsearch.xpack.ml.integration.ClassificationIT
518515
method: testWithDatastreams
519516
issue: https://github.com/elastic/elasticsearch/issues/129457
@@ -535,9 +532,6 @@ tests:
535532
- class: org.elasticsearch.xpack.security.PermissionsIT
536533
method: testWhenUserLimitedByOnlyAliasOfIndexCanWriteToIndexWhichWasRolledoverByILMPolicy
537534
issue: https://github.com/elastic/elasticsearch/issues/129481
538-
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
539-
method: test {knn-function.KnnSearchWithKOption SYNC}
540-
issue: https://github.com/elastic/elasticsearch/issues/129512
541535
- class: org.elasticsearch.xpack.logsdb.qa.StandardVersusStandardReindexedIntoLogsDbChallengeRestIT
542536
method: testMatchAllQuery
543537
issue: https://github.com/elastic/elasticsearch/issues/129527

x-pack/plugin/esql/qa/testFixtures/src/main/resources/knn-function.csv-spec

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,6 @@ chartreuse | [127.0, 255.0, 0.0]
2929
// end::knn-function-result[]
3030
;
3131

32-
knnSearchWithKOption
33-
required_capability: knn_function
34-
35-
// tag::knn-function-options[]
36-
from colors metadata _score
37-
| where knn(rgb_vector, [0,255,255], 140)
38-
| sort _score desc, color asc
39-
// end::knn-function-options[]
40-
| keep color, rgb_vector
41-
| limit 4
42-
;
43-
44-
color:text | rgb_vector:dense_vector
45-
cyan | [0.0, 255.0, 255.0]
46-
turquoise | [64.0, 224.0, 208.0]
47-
aqua marine | [127.0, 255.0, 212.0]
48-
teal | [0.0, 128.0, 128.0]
49-
;
50-
5132
# https://github.com/elastic/elasticsearch/issues/129550
5233
knnSearchWithSimilarityOption-Ignore
5334
required_capability: knn_function
@@ -63,7 +44,6 @@ pink | [255.0, 192.0, 203.0]
6344
peach puff | [255.0, 218.0, 185.0]
6445
bisque | [255.0, 228.0, 196.0]
6546
wheat | [245.0, 222.0, 179.0]
66-
6747
;
6848

6949
knnHybridSearch

0 commit comments

Comments
 (0)