# Populate query cache when sending a "scoring queries"

**URL:** <https://discuss.elastic.co/t/populate-query-cache-when-sending-a-scoring-queries/63875>\
**Category:** Elasticsearch\
**Created:** [October 25, 2016, 1:51pm UTC](https://discuss.elastic.co/t/populate-query-cache-when-sending-a-scoring-queries/63875 "2016-10-25T13:51:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xam](https://avatars.discourse-cdn.com/v4/letter/x/bb73d2/32.png) [@xam](https://discuss.elastic.co/u/xam)\
**Post date:** [October 25, 2016, 1:51pm UTC](https://discuss.elastic.co/t/populate-query-cache-when-sending-a-scoring-queries/63875/1 "2016-10-25T13:51:12Z")

</div>

Hi all,

When I send the following query to Elasticsearch:

{  
"query\_string" : {  
"query" : "blablablabla"  
}  
}

Is there a way to say to Elasticsearch:

"I know that this a query that needs scoring (and I am very happy with that because I need scored results) but I know that I will probably reuse that query in a filter soon. So, though it is not a good idea in term of performance to that, can you please fill also a bitset with the result of that query to populate the query cache for my future non-scoring filter query? Thank you Elastic :-)"

?

Thank you for your answer :-),

---

<div class="post-metadata">

**Author:** ![xam](https://avatars.discourse-cdn.com/v4/letter/x/bb73d2/32.png) [@xam](https://discuss.elastic.co/u/xam)\
**Post date:** [January 18, 2017, 3:14pm UTC](https://discuss.elastic.co/t/populate-query-cache-when-sending-a-scoring-queries/63875/2 "2017-01-18T15:14:41Z")

</div>

Hi all,

A small "up" because I still have the same issue :-).

Thanks

---

<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 5, 2017, 10:04pm UTC](https://discuss.elastic.co/t/populate-query-cache-when-sending-a-scoring-queries/63875/3 "2017-07-05T22:04:03Z")

</div>


