# Faceted search with aggregations

**URL:** <https://discuss.elastic.co/t/faceted-search-with-aggregations/205135>\
**Category:** Elasticsearch\
**Created:** [October 24, 2019, 6:49pm UTC](https://discuss.elastic.co/t/faceted-search-with-aggregations/205135 "2019-10-24T18:49:43Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![decodeit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/decodeit/32/46023_2.png) [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Post date:** [November 14, 2019, 6:42pm UTC](https://discuss.elastic.co/t/faceted-search-with-aggregations/205135/21 "2019-11-14T18:42:47Z")

</div>

I wanted and between subjects and surveys .  
but within subjects I wanted OR.  
so any document that has any one of the subjects and one of survey should be able to match.

---

<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:** [December 12, 2019, 6:42pm UTC](https://discuss.elastic.co/t/faceted-search-with-aggregations/205135/22 "2019-12-12T18:42:48Z")

</div>

Closed on December 12, 2019, 6:42pm UTC

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

[Previous page](https://discuss.elastic.co/t/faceted-search-with-aggregations/205135.md?page=1)
