I meet one strange problem in our es cluster.
When I submit one http request through curl, or submit it through java rest client, the request cache works well and I can see "hit_count" keep increasing when submitting same requests.
But when I use java transport client, it seems it never uses request cache even if I use
SearchRequestBuilder.setRequestCache(true) to setup it. Anyone meet same problem and how can I resolve it?
Below is my working environment:
Elasticsearch version: 5.4.3
Plugins installed: N/A
JVM version: 1.8.0_11
OS version: 3.10.0-693.5.2.el7