Skip to content

Commit

Permalink
fixing tests, removing unnecessary docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benwtrent committed Dec 6, 2024
1 parent 60bc4e9 commit e8ade07
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 155 deletions.
6 changes: 3 additions & 3 deletions docs/changelog/118104.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issues: []
breaking:
title: Remove old `_knn_search` tech preview API in v9
area: Vector Search
details: Please describe the details of this change for the release notes. You can
use asciidoc.
impact: Please describe the impact of this change to users
details: The original, tech-preview api for vector search, `_knn_search`, has been removed in v9. For all vector search
operations, you should utilize the `_search` endpoint.
impact: The `_knn_search` API is now inaccessible without providing a compatible-with flag for v8.
notable: false
4 changes: 2 additions & 2 deletions docs/reference/mapping/types/dense-vector.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ it will be set to the length of the first vector added to the field.

`index`::
(Optional, Boolean)
If `true`, you can search this field using the <<knn-search-api, kNN search
API>>. Defaults to `true`.
If `true`, you can search this field using the <<query-dsl-knn-query, knn query>>
or <<search-api-knn, knn in _search>> . Defaults to `true`.

[[dense-vector-similarity]]
`similarity`::
Expand Down
2 changes: 0 additions & 2 deletions docs/reference/search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ include::search/async-search.asciidoc[]

include::search/point-in-time-api.asciidoc[]

include::search/knn-search.asciidoc[]

include::search/retriever.asciidoc[]

include::search/rrf.asciidoc[]
Expand Down
146 changes: 0 additions & 146 deletions docs/reference/search/knn-search.asciidoc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ setup:
---
"kNN search in _knn_search endpoint":
- skip:
features: [ "allowed_warnings" ]
features: [ "allowed_warnings", "headers" ]
- do:
headers:
Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
Expand Down Expand Up @@ -243,7 +243,7 @@ setup:
- requires:
cluster_features: "gte_v8.2.0"
reason: 'kNN with filtering added in 8.2'
test_runner_features: [ "allowed_warnings" ]
test_runner_features: [ "allowed_warnings", "headers" ]
- do:
headers:
Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
Expand Down

0 comments on commit e8ade07

Please sign in to comment.