# Multi Level Grouping

**URL:** <https://discuss.elastic.co/t/multi-level-grouping/221866>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [March 3, 2020, 11:18am UTC](https://discuss.elastic.co/t/multi-level-grouping/221866 "2020-03-03T11:18:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![malik\_aditya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malik_aditya/32/45618_2.png) [@malik\_aditya](https://discuss.elastic.co/u/malik_aditya)\
**Post date:** [March 3, 2020, 11:18am UTC](https://discuss.elastic.co/t/multi-level-grouping/221866/1 "2020-03-03T11:18:04Z")

</div>

Hi is it possible to get multi-level grouping information. As right now we are able to group based on one field but instead group on multiple fields simultaneously.  
"group\_key1":{  
"sub\_group\_key1":{

```
  },

```

"sub\_group\_key2":{

```
  }

```

},  
"group\_key2":{  
"sub\_group\_key1":{

```
  },

```

"sub\_group\_key2":{

```
  }

```

}.

Also currently if you group across a field you get at max 10 results per group (1 most matched and 9 under \_group key) Is it possible to get all the results of a particular group

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [March 3, 2020, 11:35am UTC](https://discuss.elastic.co/t/multi-level-grouping/221866/2 "2020-03-03T11:35:13Z")

</div>

Unfortunately, neither are possible right now.

---

<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:** [March 31, 2020, 11:35am UTC](https://discuss.elastic.co/t/multi-level-grouping/221866/3 "2020-03-31T11:35:14Z")

</div>

Closed on March 31, 2020, 11:35am UTC

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