# Reverse Nested Queries

**URL:** <https://discuss.elastic.co/t/reverse-nested-queries/41692>\
**Category:** Elasticsearch\
**Created:** [February 13, 2016, 6:43pm UTC](https://discuss.elastic.co/t/reverse-nested-queries/41692 "2016-02-13T18:43:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JordanFinners](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@JordanFinners](https://discuss.elastic.co/u/JordanFinners)\
**Post date:** [February 13, 2016, 6:43pm UTC](https://discuss.elastic.co/t/reverse-nested-queries/41692/1 "2016-02-13T18:43:32Z")

</div>

Hello, I'm doing a nested sig terms query and want to use the background filter. However I want the background filter to filter on fields outside of the nested path.  
I've seen that you can do a reverse nested agg but can you do it with the background filter on sig terms?  
Also can you use bool filter in the background filter as there are multiple fields I wish to filter on.

---

<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, 11:16pm UTC](https://discuss.elastic.co/t/reverse-nested-queries/41692/2 "2017-07-05T23:16:36Z")

</div>


