Hi all,
I have written a sample Elasticsearch plugin basically to manipulate the search response.
Like extending BaseRestHandler, and registering handler, controller.registerHandler(GET, "/_mysearch", this);.
and by implementing ActionListener, we can play around with response.
That works alright, but is there a way to intercept search response without having to register a new endpoint, with plugin.
Regards,
Mohan