Hi,
I am looking through the sources, and I am not sure whether this is possible. What I am looking to is the possibility to manipulate the SearchRequest object when it reaches the SearchShards level. Since I need to update the object with some value that is shard specific. For this, I was checking the TransportBroadcastOperationAction which actually allows to hit multiple shards and we can inject a SearchService. However, in the response aggregation, we may have to write our own logic to call SearchPhaseController::merge() or something. Not sure if this will be a problem when the same code in ElasticSearch changes over releases. There are also other classes like SearchServiceTransportAction and we can also probably extend TransportSearchTypeAction like the other QAF, DFS_QAF, QTF, DFS_QTF, etc. However, what I want to know is whether this is standard practice and should be done this way? Or is there any other plugin that allows me to do this? Thanks, Sandeep -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e1f52da2-bb05-4005-bf88-8031f5440225%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.