Skip to content

[8.7] Deprecate _knn_search in the REST spec (#94103)#94288

Merged
javanna merged 1 commit intoelastic:8.7from
javanna:backport/8.7/pr-94103
Mar 2, 2023
Merged

[8.7] Deprecate _knn_search in the REST spec (#94103)#94288
javanna merged 1 commit intoelastic:8.7from
javanna:backport/8.7/pr-94103

Conversation

@javanna
Copy link
Copy Markdown
Contributor

@javanna javanna commented Mar 2, 2023

Backports the following commits to 8.7:

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 javanna merged commit 33d8213 into elastic:8.7 Mar 2, 2023
@javanna javanna deleted the backport/8.7/pr-94103 branch March 2, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants