# Multi fields search bucketing and aggregation

**URL:** <https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248>\
**Category:** Elasticsearch\
**Created:** [March 2, 2018, 12:29pm UTC](https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248 "2018-03-02T12:29:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monte\_A](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Monte\_A](https://discuss.elastic.co/u/Monte_A)\
**Post date:** [March 2, 2018, 12:29pm UTC](https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248/1 "2018-03-02T12:29:16Z")

</div>

Hi All,

Summary of the problem:  
We have search from of 5 fields and we want to find how many records matched all 5 fields, 4 fields, 3 fields, 2 fields and only one field.

Is it possible to do so?

Could anyone help me to get solution for this or at least guide on the right track.

Thanks

---

<div class="post-metadata">

**Author:** ![Monte\_A](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Monte\_A](https://discuss.elastic.co/u/Monte_A)\
**Post date:** [March 5, 2018, 6:17am UTC](https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248/2 "2018-03-05T06:17:40Z")

</div>

Can someone just let me know if this is possible or not.

---

<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:** [April 2, 2018, 6:25am UTC](https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248/3 "2018-04-02T06:25:36Z")

</div>

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