# Custom Collector using a plugin

**URL:** <https://discuss.elastic.co/t/custom-collector-using-a-plugin/19855>\
**Category:** Elasticsearch\
**Created:** [September 18, 2014, 7:56am UTC](https://discuss.elastic.co/t/custom-collector-using-a-plugin/19855 "2014-09-18T07:56:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim\_glabisch](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@tim\_glabisch](https://discuss.elastic.co/u/tim_glabisch)\
**Post date:** [September 18, 2014, 7:56am UTC](https://discuss.elastic.co/t/custom-collector-using-a-plugin/19855/1 "2014-09-18T07:56:07Z")

</div>

Hello,

i am just looking for an entry point for a custom (lucene) collector.  
is it possible to use a custom collector at all?

what classes do i have to implement to run the collector in a distributed  
way?

thanks a lot,  
tim

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/91c16446-0e5e-4f20-99a9-83a49a46b0bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/91c16446-0e5e-4f20-99a9-83a49a46b0bd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [September 19, 2014, 6:44pm UTC](https://discuss.elastic.co/t/custom-collector-using-a-plugin/19855/2 "2014-09-19T18:44:03Z")

</div>

You basically want to create your own aggregation, which are basically  
collectors at the Lucene level. Look at existing plugins which provide  
custom aggregation.

Basically, elasticsearch uses a scatter-gather/map-reduce model for  
distributed collections.

--  
Ivan  
On Sep 18, 2014 12:56 AM, "tim glabisch" [frk131@googlemail.com](mailto:frk131@googlemail.com) wrote:

> Hello,
> 
> i am just looking for an entry point for a custom (lucene) collector.  
> is it possible to use a custom collector at all?
> 
> what classes do i have to implement to run the collector in a distributed  
> way?
> 
> thanks a lot,  
> tim
> 
> --  
> 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/91c16446-0e5e-4f20-99a9-83a49a46b0bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/91c16446-0e5e-4f20-99a9-83a49a46b0bd%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/91c16446-0e5e-4f20-99a9-83a49a46b0bd%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/91c16446-0e5e-4f20-99a9-83a49a46b0bd%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCYx%2BFxN93GJxdd1x\_8g-Ftk5qd2sZPRjRbe%3D5%3DWe%3DC9A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCYx%2BFxN93GJxdd1x_8g-Ftk5qd2sZPRjRbe%3D5%3DWe%3DC9A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:01am UTC](https://discuss.elastic.co/t/custom-collector-using-a-plugin/19855/3 "2017-07-06T01:01:00Z")

</div>


