GET /executives/_search?request_cache=true&preference=sa
GET /executives/_search?request_cache=true
When hitting from Kibana both with the same query doesn't make any difference.
Is it true preferences are ignored in elasticsearch?
GET /executives/_search?request_cache=true&preference=sa
GET /executives/_search?request_cache=true
When hitting from Kibana both with the same query doesn't make any difference.
Is it true preferences are ignored in elasticsearch?
Welcome to our community!
It'd be good if you could elaborate on what you mean by that.
Hi @warkolm,
Thanks.
I got the issue. As I had two env (QA and PROD), so in QA we had only 1 node, and prod we had 2 nodes.
So in QA preferences were not making any difference as in the first hit it's getting cached in request cache at that node, so consecutive calls making no difference.
So comparing with prod I can see the difference, as it takes initial two-three calls covering both nodes and now all the consecutive calls are served from request cache...
Please can you help with my other doubts-
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.