ElasticSearch validate api overhead/latency

ElasticSearch provides an option to validate a query before executing an entire query to all the shards.


How much is the latency overhead of validate api call?

There is no documentation regarding that.

I don't have any numbers for you but the overhead should be very low. Do you just want to make sure your query is ok you an also just send a search request and see if it fails?

That is possible yes, but executing a search query on all the shards is expensive.
We do not have very large query as of now, but some complex query which spawns across multiple indices and multiple shards should be validated first before executing.

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