Does the native Java client transparently cache search results?

We're seeing surprisingly good performance in some testing we're doing,
taking just 0.1ms while repeatedly executing the same query, here is the
relevant code: We see
this whether ES is running on the same machine as the client code, or on a
different EC2 machine. This seems surprisingly performant.

I'm wondering if maybe this is due to some caching within the client code,
given that the search query is identical each time?

Would appreciate any input.


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
To view this discussion on the web visit
For more options, visit