-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/LoggingLog management and logging utilitiesLog management and logging utilities:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilitiesv5.0.0-alpha5
Description
As we change our REST Endpoints, particularly with simple examples like going from _optimize to _forcemerge, we should use the deprecation logger to announce the deprecation to the user.
Hopefully it's as simple as adding something along the lines of
controller.registerDeprecatedHandler(POST, "/_optimize", this);
controller.registerDeprecatedHandler(POST, "/{index}/_optimize", this);I'm interested to hear what people might want to see as part of the deprecation notice though. I wouldn't want to make it too fancy, but it might be nice to say something along the lines of "see _forcemerge".
What do you think @clintongormley?
uboness, jpountz, clintongormley and gmarz
Metadata
Metadata
Assignees
Labels
:Core/Infra/LoggingLog management and logging utilitiesLog management and logging utilities:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilitiesv5.0.0-alpha5