Can't override RestSearchAction.handleRequest() method as of ES 5.0?


(Brian Herring) #1

I have a native java plugin that works with ES versions prior to 5.0. It contains a class which extends RestSearchAction and overrides the handleRequest() method, in order to modify the final set of search results returned. As of ES version 5.0, the RestSearchAction.handleRequest() method is marked "final" and therefore cannot be overridden. Can anyone provide guidance on how I might be able to get my old plugin working for ES version 5.0 given this restriction?

Thanks very much in advance!


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.