Skip to content

Deprecate the _termvector endpoint.#36098

Merged
jtibshirani merged 3 commits intoelastic:masterfrom
jtibshirani:deprecate-termvector-endpoint
Nov 30, 2018
Merged

Deprecate the _termvector endpoint.#36098
jtibshirani merged 3 commits intoelastic:masterfrom
jtibshirani:deprecate-termvector-endpoint

Conversation

@jtibshirani
Copy link
Copy Markdown
Contributor

This endpoint was replaced by _termvectors (plural) in #8484. We deprecated the relevant transport client methods, but didn't introduce a deprecation warning. My plan was to add a deprecation warning in 6.6, and stop supporting this endpoint in 7.0.

@jtibshirani jtibshirani added :Search/Search Search-related issues that do not fall into other categories >deprecation v6.6.0 labels Nov 30, 2018
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search

// we keep usage of _termvector as alias for now
controller.registerHandler(GET, "/{index}/{type}/_termvector", this);
controller.registerHandler(POST, "/{index}/{type}/_termvector", this);
controller.registerHandler(GET, "/{index}/{type}/{id}/_termvector", this);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we use registerWithDeprecatedHandler instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I had overlooked this.

Copy link
Copy Markdown
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

LGTM

@jtibshirani jtibshirani merged commit 98b2906 into elastic:master Nov 30, 2018
@jtibshirani jtibshirani deleted the deprecate-termvector-endpoint branch November 30, 2018 21:12
jtibshirani added a commit that referenced this pull request Nov 30, 2018
This endpoint was replaced by _termvectors (plural) in #8484. We deprecated the relevant
transport client methods, but didn't introduce a deprecation warning. My plan was to add
a deprecation warning in 6.6, and stop supporting this endpoint in 7.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>deprecation :Search/Search Search-related issues that do not fall into other categories v6.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants