Skip to content

Deprecate _knn_search in the REST spec#94103

Merged
javanna merged 2 commits intoelastic:mainfrom
javanna:deprecation/knn_search
Mar 2, 2023
Merged

Deprecate _knn_search in the REST spec#94103
javanna merged 2 commits intoelastic:mainfrom
javanna:deprecation/knn_search

Conversation

@javanna
Copy link
Copy Markdown
Contributor

@javanna javanna commented Feb 24, 2023

We deprecated the _knn_search endpoint with #88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the section.

We deprecated the _knn_search endpoint with elastic#88828 but we missed deprecating it in the REST spec.
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search (Team:Search)

@javanna javanna added the auto-backport Automatically create backport pull requests when merged label Feb 27, 2023
@javanna javanna merged commit 767b410 into elastic:main Mar 2, 2023
@javanna javanna deleted the deprecation/knn_search branch March 2, 2023 19:04
javanna added a commit to javanna/elasticsearch that referenced this pull request Mar 2, 2023
We deprecated the _knn_search endpoint with elastic#88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
javanna added a commit to javanna/elasticsearch that referenced this pull request Mar 2, 2023
We deprecated the _knn_search endpoint with elastic#88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.4
8.7
8.5
8.6

javanna added a commit to javanna/elasticsearch that referenced this pull request Mar 2, 2023
We deprecated the _knn_search endpoint with elastic#88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
javanna added a commit to javanna/elasticsearch that referenced this pull request Mar 2, 2023
We deprecated the _knn_search endpoint with elastic#88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
javanna added a commit that referenced this pull request Mar 2, 2023
We deprecated the _knn_search endpoint with #88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
javanna added a commit that referenced this pull request Mar 2, 2023
We deprecated the _knn_search endpoint with #88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
ChrisHegarty pushed a commit that referenced this pull request Aug 9, 2023
We deprecated the _knn_search endpoint with #88828 but we missed deprecating it in the REST spec.

Note that the REST spec parser was not aligned with its json schema in that the deprecated section caused an exception to be thrown. The parser is now updated to accept the deprecated section at the endpoint level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >non-issue :Search Relevance/Vectors Vector search Team:Search Meta label for search team v8.6.3 v8.7.0 v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants