_search request peformance with explain option turned on

Hello!

I've got a question on explain query param: I'd like to keep track of score calculation history for each request. To do this I plan to set explain=true for each search request and log explain section from response.

Would sending explain query param with each request imply any additional cost - additional load to the cluster? Higher request latency?

Yes, I would expect it to add additional load and increase latencies. Exactly what impact it would have in your environment and use case you probably need to test yourself.

1 Like