# Using elasticsearch 0.19.4 with grouping support

**URL:** <https://discuss.elastic.co/t/using-elasticsearch-0-19-4-with-grouping-support/7949>\
**Category:** Elasticsearch\
**Created:** [June 2, 2012, 3:55pm UTC](https://discuss.elastic.co/t/using-elasticsearch-0-19-4-with-grouping-support/7949 "2012-06-02T15:55:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 2, 2012, 3:55pm UTC](https://discuss.elastic.co/t/using-elasticsearch-0-19-4-with-grouping-support/7949/1 "2012-06-02T15:55:46Z")

</div>

Hi there,

as the original repo from Martijn seems not be maintained at the moment, I  
have created some patches to use elasticsearch with 0.19.4, 0.19.3 and some  
0.18 and 0.17 versions. They are available here

> **[lusini/elasticsearch-grouping-patches](https://github.com/lusini/elasticsearch-grouping-patches)**
>
> elasticsearch-grouping-patches - This repository yields patches for elasticsearch with grouping support

All you need to do is:  
git clone git://github.com/lusini/elasticsearch-grouping-patches.git  
cd elasticsearch-grouping-patches  
./build-patched-elasticsearch.sh

After running the shell script, you should have a patched elasticsearch in  
your build/dist directory - ready to play with it.

For some more documentation how to use grouping with elasticsearch, go to  
Martijns repository  
[https://github.com/martijnvg/elasticsearch-with-local-grouping](https://github.com/martijnvg/elasticsearch-with-local-grouping)  
ATTENTION: This feature is not multi-shard capable. In case you want to try  
it out, make sure your index only consists of one shard.

I will add some documentation how to use it via Java API in the next days.  
You could also just take a quick look at the tests in the patch file.

Regards, Alexander

---

<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, 3:25am UTC](https://discuss.elastic.co/t/using-elasticsearch-0-19-4-with-grouping-support/7949/2 "2017-07-06T03:25:55Z")

</div>


