Custom query parser

Hi,
I'd like to prepare new query parser which will be triggered for each query
sent to ES.
I already implemented a query parser and attached it to AnalysisService but
I have to run it by

{
"query" : {
"custom_query : {
....
}
}
}

I'd like to avoid this. ES has multiple clients for multiple languages but
not all of them support such a custom query type.
Is it possible to trigger my custom_query parser for each query sent to ES?

I see that I can build my own RESTAction but it means the endpoint will
change (_search => _custom_endpoint) so again it can be not supported by ES
clients.

Do you have any suggestions how to handle this?

--
Paweł Róg

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAF9ZkbMGnEtJoQ%3Dj-vnGn%3DtjZi5F%2B1Pim1DgARiQ6AzU5H%2Bs3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.