# Facet plugin in ES version 0.90.\*

**URL:** <https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152>\
**Category:** Elasticsearch\
**Created:** [May 28, 2013, 1:42pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152 "2013-05-28T13:42:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [May 28, 2013, 1:42pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/1 "2013-05-28T13:42:07Z")

</div>

Hi,

Can anyone please share some guide on how to develop a facet plugin in ES  
version 0.90.\*?  
Any other updated facet plugin can also act as reference, haven't seen any  
so far.

I am facing hard time upgrading compatibility of one such plugin from  
0.19.\* to 0.90.\*

Thanks

- Sujoy

--  
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:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [May 28, 2013, 11:23pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/2 "2013-05-28T23:23:57Z")

</div>

Hi,

We've used and somewhat extended  
Igor's [GitHub - imotov/elasticsearch-facet-script: Fully Scriptable Facets for ElasticSearch](https://github.com/imotov/elasticsearch-facet-script) - is that what  
you are looking for?

## Otis

ELASTICSEARCH Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)

On Tuesday, May 28, 2013 9:42:07 AM UTC-4, Sujoy Sett wrote:

> Hi,
> 
> Can anyone please share some guide on how to develop a facet plugin in ES  
> version 0.90.\*?  
> Any other updated facet plugin can also act as reference, haven't seen any  
> so far.
> 
> I am facing hard time upgrading compatibility of one such plugin from  
> 0.19.\* to 0.90.\*
> 
> Thanks
> 
> - Sujoy

--  
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:** ![dobe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dobe/32/2152_2.png) [@dobe](https://discuss.elastic.co/u/dobe)\
**Post date:** [May 29, 2013, 4:49am UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/3 "2013-05-29T04:49:58Z")

</div>

hi sujoy

we've just updated this plugin for 0.90

> **[GitHub - crate/elasticsearch-timefacets-plugin: Elasticsearch Timebased Facets](https://github.com/crate/elasticsearch-timefacets-plugin)**
>
> Elasticsearch Timebased Facets. Contribute to crate/elasticsearch-timefacets-plugin development by creating an account on GitHub.

Bernd

On Tuesday, May 28, 2013 3:42:07 PM UTC+2, Sujoy Sett wrote:

> Hi,
> 
> Can anyone please share some guide on how to develop a facet plugin in ES  
> version 0.90.\*?  
> Any other updated facet plugin can also act as reference, haven't seen any  
> so far.
> 
> I am facing hard time upgrading compatibility of one such plugin from  
> 0.19.\* to 0.90.\*
> 
> Thanks
> 
> - Sujoy

--  
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:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [May 29, 2013, 12:51pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/4 "2013-05-29T12:51:10Z")

</div>

Hi Otis,

Thanks for the link, I had gone through it earlier also.

It was overall helpful, but I was specifically looking for how the values  
for a array field is iterated upon, after the latest change in field data  
structures, and not for script executors. ☹

Thanks

- Sujoy.

On Wednesday, May 29, 2013 4:53:57 AM UTC+5:30, Otis Gospodnetic wrote:

> Hi,
> 
> We've used and somewhat extended Igor's  
> [GitHub - imotov/elasticsearch-facet-script: Fully Scriptable Facets for ElasticSearch](https://github.com/imotov/elasticsearch-facet-script) - is that what you  
> are looking for?
> 
> ## Otis
> 
> ELASTICSEARCH Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
> Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)
> 
> On Tuesday, May 28, 2013 9:42:07 AM UTC-4, Sujoy Sett wrote:
> 
> > Hi,
> > 
> > Can anyone please share some guide on how to develop a facet plugin in ES  
> > version 0.90.\*?  
> > Any other updated facet plugin can also act as reference, haven't seen  
> > any so far.
> > 
> > I am facing hard time upgrading compatibility of one such plugin from  
> > 0.19.\* to 0.90.\*
> > 
> > Thanks
> > 
> > - Sujoy

--  
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:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [May 29, 2013, 12:54pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/5 "2013-05-29T12:54:34Z")

</div>

Hi Bernd,

Thanks for the link. Looks like this is what I was looking for.

I see that the purpose for interfac

Thanks again,

- Sujoy.

On Wednesday, May 29, 2013 10:19:58 AM UTC+5:30, dobe wrote:

> hi sujoy
> 
> we've just updated this plugin for 0.90  
> [GitHub - crate/elasticsearch-timefacets-plugin: Elasticsearch Timebased Facets](https://github.com/crate/elasticsearch-timefacets-plugin)
> 
> Bernd
> 
> On Tuesday, May 28, 2013 3:42:07 PM UTC+2, Sujoy Sett wrote:
> 
> > Hi,
> > 
> > Can anyone please share some guide on how to develop a facet plugin in ES  
> > version 0.90.\*?  
> > Any other updated facet plugin can also act as reference, haven't seen  
> > any so far.
> > 
> > I am facing hard time upgrading compatibility of one such plugin from  
> > 0.19.\* to 0.90.\*
> > 
> > Thanks
> > 
> > - Sujoy

--  
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:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [May 29, 2013, 12:57pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/6 "2013-05-29T12:57:15Z")

</div>

Hi Otis,

Thanks for the link.

I had earlier gone through it. The overall flow helped, but I was  
specifically looking for how to iterate over values of an array field,  
after the latest change in field data structures, not for script executors.  
☹

Thanks,

- Sujoy.

On Wednesday, May 29, 2013 4:53:57 AM UTC+5:30, Otis Gospodnetic wrote:

> Hi,
> 
> We've used and somewhat extended Igor's  
> [GitHub - imotov/elasticsearch-facet-script: Fully Scriptable Facets for ElasticSearch](https://github.com/imotov/elasticsearch-facet-script) - is that what you  
> are looking for?
> 
> ## Otis
> 
> ELASTICSEARCH Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
> Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)
> 
> On Tuesday, May 28, 2013 9:42:07 AM UTC-4, Sujoy Sett wrote:
> 
> > Hi,
> > 
> > Can anyone please share some guide on how to develop a facet plugin in ES  
> > version 0.90.\*?  
> > Any other updated facet plugin can also act as reference, haven't seen  
> > any so far.
> > 
> > I am facing hard time upgrading compatibility of one such plugin from  
> > 0.19.\* to 0.90.\*
> > 
> > Thanks
> > 
> > - Sujoy

--  
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:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [May 29, 2013, 1:00pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/7 "2013-05-29T13:00:42Z")

</div>

Hi Bernd,

Thanks for the link. Looks like this is what I was looking for.

I see that the purpose of the interface LongValueInDocProc is currently  
served to some extent by the class LongFacetAggregatorBase. I was  
implementing StringValueInDocProc in my code, and this Aggregator class is  
where I was stuck. Looks like I got the hint.

Thanks again,

- Sujoy.

On Wednesday, May 29, 2013 10:19:58 AM UTC+5:30, dobe wrote:

> hi sujoy
> 
> we've just updated this plugin for 0.90  
> [GitHub - crate/elasticsearch-timefacets-plugin: Elasticsearch Timebased Facets](https://github.com/crate/elasticsearch-timefacets-plugin)
> 
> Bernd
> 
> On Tuesday, May 28, 2013 3:42:07 PM UTC+2, Sujoy Sett wrote:
> 
> > Hi,
> > 
> > Can anyone please share some guide on how to develop a facet plugin in ES  
> > version 0.90.\*?  
> > Any other updated facet plugin can also act as reference, haven't seen  
> > any so far.
> > 
> > I am facing hard time upgrading compatibility of one such plugin from  
> > 0.19.\* to 0.90.\*
> > 
> > Thanks
> > 
> > - Sujoy

--  
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:** ![Dan\_Fairs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_fairs/32/1205_2.png) [@Dan\_Fairs](https://discuss.elastic.co/u/Dan_Fairs)\
**Post date:** [May 29, 2013, 5:07pm UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/8 "2013-05-29T17:07:44Z")

</div>

Hi Bernd,

> we've just updated this plugin for 0.90 [GitHub - crate/elasticsearch-timefacets-plugin: Elasticsearch Timebased Facets](https://github.com/crate/elasticsearch-timefacets-plugin)

Well - this looks _very_ interesting. What kind of scale have you tested this at, and is it particularly sensitive to eg. high cardinality fields?

## Thanks, Dan

Dan Fairs | [dan.fairs@gmail.com](mailto:dan.fairs@gmail.com) | @danfairs | [secondsync.com](http://secondsync.com)

--  
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:** ![dobe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dobe/32/2152_2.png) [@dobe](https://discuss.elastic.co/u/dobe)\
**Post date:** [May 31, 2013, 6:21am UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/9 "2013-05-31T06:21:03Z")

</div>

On May 29, 2013, at 19:07 , Dan Fairs [dan.fairs@gmail.com](mailto:dan.fairs@gmail.com) wrote:

> Hi Bernd,
> 
> > we've just updated this plugin for 0.90 [GitHub - crate/elasticsearch-timefacets-plugin: Elasticsearch Timebased Facets](https://github.com/crate/elasticsearch-timefacets-plugin)
> 
> Well - this looks _very_ interesting. What kind of scale have you tested this at, and is it particularly sensitive to eg. high cardinality fields?

Hi, we use the pre 0.6.0 version of the plugin for about a year now on an index with about 3 billion docs. we have a field with about 1 billion different values where we use the latest and distinct facets. We plan to stage the 0.6.0 version in the next two weeks on a staging environment.

The facet was also in use with about 24 billion docs, so there should be no scaling problem.

BR, bernd

> ## Thanks, Dan
> 
> Dan Fairs | [dan.fairs@gmail.com](mailto:dan.fairs@gmail.com) | @danfairs | [secondsync.com](http://secondsync.com)
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/\_GkQkpxkDTQ/unsubscribe?hl=en-US](https://groups.google.com/d/topic/elasticsearch/_GkQkpxkDTQ/unsubscribe?hl=en-US).  
> To unsubscribe from this group and all its topics, 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:** ![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:33am UTC](https://discuss.elastic.co/t/facet-plugin-in-es-version-0-90/12152/10 "2017-07-06T02:33:44Z")

</div>


