# Elasticsearch Kibana Preference

**URL:** <https://discuss.elastic.co/t/elasticsearch-kibana-preference/276423>\
**Category:** Kibana\
**Created:** [June 18, 2021, 10:47pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-preference/276423 "2021-06-18T22:47:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanchit\_Agrawal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sanchit_agrawal/32/84391_2.png) [@Sanchit\_Agrawal](https://discuss.elastic.co/u/Sanchit_Agrawal)\
**Post date:** [June 18, 2021, 10:47pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-preference/276423/1 "2021-06-18T22:47:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 21, 2021, 1:03am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-preference/276423/2 "2021-06-21T01:03:26Z")

</div>

Welcome to our community! 😃

> [@Sanchit\_Agrawal](#):
>
> When hitting from Kibana both with the same query doesn't make any difference.

It'd be good if you could elaborate on what you mean by that.

---

<div class="post-metadata">

**Author:** ![Sanchit\_Agrawal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sanchit_agrawal/32/84391_2.png) [@Sanchit\_Agrawal](https://discuss.elastic.co/u/Sanchit_Agrawal)\
**Post date:** [June 21, 2021, 11:26am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-preference/276423/3 "2021-06-21T11:26:16Z")

</div>

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-

1. I have daily pushed to ES and the request cache is getting cleared automatically for as low as 1 document also. Can I restrict this from getting cleared?
2. Where do request\_cache, query\_cache, and field data cache reside, in heap or ram?
3. Is there any issue if my ram percentage is showing 99 for the nodes.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 19, 2021, 11:26am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-preference/276423/4 "2021-07-19T11:26:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
