Slow Performance of Elastic Search with Spark

And even if you do this:

ds.count().explain(extended=True)

does not show you the ES queries.

I have another discussion open here for monitoring queries in the backend which seems the only solution for now.