Skip to content

Deprecate the _knn_search endpoint#88828

Merged
jtibshirani merged 6 commits intoelastic:mainfrom
jtibshirani:knn-endpoint
Aug 3, 2022
Merged

Deprecate the _knn_search endpoint#88828
jtibshirani merged 6 commits intoelastic:mainfrom
jtibshirani:knn-endpoint

Conversation

@jtibshirani
Copy link
Copy Markdown
Contributor

This change deprecates the kNN search API in favor of the new 'knn' option
inside the search API. The 'knn' option is now the recommended way of running
ANN search.

Relates to #87625

This change deprecates the kNN search API in favor of the new 'knn' option
inside the search API. The 'knn' option is now the preferred way of performing
kNN search.
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label Jul 26, 2022
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @jtibshirani, I've created a changelog YAML for you. Note that since this PR is labelled >deprecation, you need to update the changelog YAML to fill out the extended information sections.

@mark-vieira mark-vieira added v8.5.0 and removed v8.4.0 labels Jul 27, 2022
@jtibshirani jtibshirani added the Team:Clients Meta label for clients team label Jul 28, 2022
@elasticsearchmachine elasticsearchmachine removed the Team:Clients Meta label for clients team label Jul 28, 2022
Copy link
Copy Markdown
Contributor

@mayya-sharipova mayya-sharipova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Julie, LGTM!

@jtibshirani jtibshirani merged commit 21eb984 into elastic:main Aug 3, 2022
@jtibshirani jtibshirani deleted the knn-endpoint branch August 3, 2022 19:19
jtibshirani added a commit that referenced this pull request Aug 3, 2022
This change deprecates the kNN search API in favor of the new 'knn' option
inside the search API. The 'knn' option is now the preferred way of performing
kNN search.

Relates to #87625
javanna added a commit to javanna/elasticsearch that referenced this pull request Feb 24, 2023
We deprecated the _knn_search endpoint with elastic#88828 but we missed deprecating it in the REST spec.
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 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 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants