# \[ANN\] Carrot2 plugin for ES (on-the-fly clustering of search results)

**URL:** <https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640>\
**Category:** Elasticsearch\
**Created:** [July 3, 2013, 12:17pm UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640 "2013-07-03T12:17:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dawid\_Weiss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dawid_weiss/32/1643_2.png) [@Dawid\_Weiss](https://discuss.elastic.co/u/Dawid_Weiss)\
**Post date:** [July 3, 2013, 12:17pm UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640/1 "2013-07-03T12:17:41Z")

</div>

Perhaps it will be of interest to somebody. We have written (and will  
support) an "official" plugin to support on-the-fly search results  
clustering (aka "dynamic facets") inside ElasticSearch. The code is  
here:

> **[carrot2/elasticsearch-carrot2](https://github.com/carrot2/elasticsearch-carrot2)**
>
> elasticsearch-carrot2 - Carrot2 plugin for ElasticSearch

It's been quite fun to work with ElasticSearch internals and the  
possibility to include static content inside the plugin's \_site is  
ingenious -- see the self-driving documentation for example:

bin/plugin --install org.carrot2/elasticsearch-carrot2/1.0.0  
bin/elasticsearch  
open [http://localhost:9200/\_plugin/carrot2/](http://localhost:9200/_plugin/carrot2/)

Dawid

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Tanguy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy1/32/1749_2.png) [@Tanguy1](https://discuss.elastic.co/u/Tanguy1)\
**Post date:** [July 3, 2013, 12:24pm UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640/2 "2013-07-03T12:24:50Z")

</div>

Hi Dawid,

It looks great, thanks to share this plugin! I was thinking of implementing  
something like that 🙂

-- Tanguy  
@tlrx

Le mercredi 3 juillet 2013 14:17:41 UTC+2, Dawid Weiss a écrit :

> Perhaps it will be of interest to somebody. We have written (and will  
> support) an "official" plugin to support on-the-fly search results  
> clustering (aka "dynamic facets") inside Elasticsearch. The code is  
> here:
> 
> [GitHub - carrot2/elasticsearch-carrot2: Carrot2 plugin for ElasticSearch](https://github.com/carrot2/elasticsearch-carrot2)
> 
> It's been quite fun to work with Elasticsearch internals and the  
> possibility to include static content inside the plugin's \_site is  
> ingenious -- see the self-driving documentation for example:
> 
> bin/plugin --install org.carrot2/elasticsearch-carrot2/1.0.0  
> bin/elasticsearch  
> open [http://localhost:9200/\_plugin/carrot2/](http://localhost:9200/_plugin/carrot2/)
> 
> Dawid

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mohit\_Chawla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohit_chawla/32/2243_2.png) [@Mohit\_Chawla](https://discuss.elastic.co/u/Mohit_Chawla)\
**Post date:** [July 3, 2013, 12:26pm UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640/3 "2013-07-03T12:26:24Z")

</div>

Sweet ! medcl also wrote an integration long time back. 🙂

On Wed, Jul 3, 2013 at 5:47 PM, Dawid Weiss [dawid.weiss@gmail.com](mailto:dawid.weiss@gmail.com) wrote:

> Perhaps it will be of interest to somebody. We have written (and will  
> support) an "official" plugin to support on-the-fly search results  
> clustering (aka "dynamic facets") inside Elasticsearch. The code is  
> here:
> 
> [GitHub - carrot2/elasticsearch-carrot2: Carrot2 plugin for ElasticSearch](https://github.com/carrot2/elasticsearch-carrot2)
> 
> It's been quite fun to work with Elasticsearch internals and the  
> possibility to include static content inside the plugin's \_site is  
> ingenious -- see the self-driving documentation for example:
> 
> bin/plugin --install org.carrot2/elasticsearch-carrot2/1.0.0  
> bin/elasticsearch  
> open [http://localhost:9200/\_plugin/carrot2/](http://localhost:9200/_plugin/carrot2/)
> 
> Dawid
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dawid\_Weiss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dawid_weiss/32/1643_2.png) [@Dawid\_Weiss](https://discuss.elastic.co/u/Dawid_Weiss)\
**Post date:** [July 4, 2013, 1:28pm UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640/4 "2013-07-04T13:28:17Z")

</div>

> Sweet ! medcl also wrote an integration long time back. 🙂

Yes, I actually looked into medcl's code and it was a great helper --  
kudos to him of course. That first implementation did not have the  
support for Java API (only REST) and I wanted a clean-room  
implementation to get the understanding of the internal workings of  
ES.

Dawid

> On Wed, Jul 3, 2013 at 5:47 PM, Dawid Weiss [dawid.weiss@gmail.com](mailto:dawid.weiss@gmail.com) wrote:
> 
> > Perhaps it will be of interest to somebody. We have written (and will  
> > support) an "official" plugin to support on-the-fly search results  
> > clustering (aka "dynamic facets") inside Elasticsearch. The code is  
> > here:
> > 
> > [GitHub - carrot2/elasticsearch-carrot2: Carrot2 plugin for ElasticSearch](https://github.com/carrot2/elasticsearch-carrot2)
> > 
> > It's been quite fun to work with Elasticsearch internals and the  
> > possibility to include static content inside the plugin's \_site is  
> > ingenious -- see the self-driving documentation for example:
> > 
> > bin/plugin --install org.carrot2/elasticsearch-carrot2/1.0.0  
> > bin/elasticsearch  
> > open [http://localhost:9200/\_plugin/carrot2/](http://localhost:9200/_plugin/carrot2/)
> > 
> > Dawid
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![gearond](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@gearond](https://discuss.elastic.co/u/gearond)\
**Post date:** [July 13, 2013, 3:08am UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640/5 "2013-07-13T03:08:04Z")

</div>

> 

So can you show an example of this? Mabye attached to a screenshot of the  
GUI one could generate for this?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:26am UTC](https://discuss.elastic.co/t/ann-carrot2-plugin-for-es-on-the-fly-clustering-of-search-results/12640/6 "2017-07-06T02:26:40Z")

</div>


