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?
As we change our REST Endpoints, particularly with simple examples like going from
_optimizeto_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
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?