# Shard query cache and filters with \_cache:false

**URL:** https://discuss.elastic.co/t/shard-query-cache-and-filters-with--cache-false/1268
**Category:** Elasticsearch
**Created:** [May 25, 2015, 9:21pm UTC](https://discuss.elastic.co/t/shard-query-cache-and-filters-with--cache-false/1268 "2015-05-25T21:21:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![msukmanowsky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/msukmanowsky/32/44771_2.png) [@msukmanowsky](https://discuss.elastic.co/u/msukmanowsky)
#### Post date: [May 25, 2015, 9:21pm UTC](https://discuss.elastic.co/t/shard-query-cache-and-filters-with--cache-false/1268/1 "2015-05-25T21:21:07Z")

</div>

Is the shard query cache disabled if a filter is specified in query.filter.filtered.bool.must clause has \_cache: false? It makes some intuitive sense if it's the case, but looking over the source code (we're using 1.4.3), I can't see any reason why this would happen yet it seems to on most of our queries (confirmed it's enabled in our settings at 2% of heap).

---

<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 6, 2017, 12:12am UTC](https://discuss.elastic.co/t/shard-query-cache-and-filters-with--cache-false/1268/2 "2017-07-06T00:12:03Z")

</div>


