Getting Engine.Searcher object within custom plugin

I have created a simple plugin by extending BaseRestHandler. I need to
access Engine.Searcher and Engine.Reader within plugin class

Is there a way to get these two objects without using IndexShard.searcher()


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit