# Org.elasticsearch.search.aggregations docs

**URL:** <https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209>\
**Category:** Elasticsearch\
**Created:** [August 11, 2014, 8:47pm UTC](https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209 "2014-08-11T20:47:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Steinmetz](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jeff\_Steinmetz](https://discuss.elastic.co/u/Jeff_Steinmetz)\
**Post date:** [August 11, 2014, 8:47pm UTC](https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209/1 "2014-08-11T20:47:54Z")

</div>

I've been looking all over the place for documentation on

org.elasticsearch.search.aggregations.\_

The Java API 1.x docs state Facets will be depreciated.  
I am using the source code on github for reference.

I also see that Kibana does all its queries using Facets.

I wanted to make sure I wasn't missing something. Searched everywhere.

--  
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/4023b71f-1b17-4aec-ad3c-b042d2b93dbb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4023b71f-1b17-4aec-ad3c-b042d2b93dbb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Isabel\_Drost\_Fromm](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@Isabel\_Drost\_Fromm](https://discuss.elastic.co/u/Isabel_Drost_Fromm)\
**Post date:** [August 11, 2014, 11:08pm UTC](https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209/2 "2014-08-11T23:08:23Z")

</div>

On Mon, Aug 11, 2014 at 10:47 PM, Jeff Steinmetz \<  
[jeffrey.steinmetz@gmail.com](mailto:jeffrey.steinmetz@gmail.com)\> wrote:

> I've been looking all over the place for documentation on
> 
> org.elasticsearch.search.aggregations.\_

There's quite a bit of information in the online docs:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Hope this helps you.

Isabel

--  
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/CAFSgB-CdCB\_o\_VCvrok%2B-QS9G57rez%2BD8hkPsL%3DqqOTsSvaTJw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAFSgB-CdCB_o_VCvrok%2B-QS9G57rez%2BD8hkPsL%3DqqOTsSvaTJw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jeff\_Steinmetz](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jeff\_Steinmetz](https://discuss.elastic.co/u/Jeff_Steinmetz)\
**Post date:** [August 11, 2014, 11:13pm UTC](https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209/3 "2014-08-11T23:13:45Z")

</div>

Thank you.  
Although I was specifically talking about documentation for the Java search  
API.

For example, there is this

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

But ... haven't found anything that covers the Aggregations replacement.

On Monday, August 11, 2014 4:08:41 PM UTC-7, Isabel Drost-Fromm wrote:

> On Mon, Aug 11, 2014 at 10:47 PM, Jeff Steinmetz \<[jeffrey....@gmail.com](mailto:jeffrey....@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > I've been looking all over the place for documentation on
> > 
> > org.elasticsearch.search.aggregations.\_
> 
> There's quite a bit of information in the online docs:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations.html)
> 
> Hope this helps you.
> 
> Isabel

--  
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/6551218f-ce51-4fa5-9334-a7952327929c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6551218f-ce51-4fa5-9334-a7952327929c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Isabel\_Drost\_Fromm](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@Isabel\_Drost\_Fromm](https://discuss.elastic.co/u/Isabel_Drost_Fromm)\
**Post date:** [August 12, 2014, 9:22am UTC](https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209/4 "2014-08-12T09:22:40Z")

</div>

On Tue, Aug 12, 2014 at 1:13 AM, Jeff Steinmetz \<[jeffrey.steinmetz@gmail.com](mailto:jeffrey.steinmetz@gmail.com)

> wrote:

> Although I was specifically talking about documentation for the Java  
> search API.
> 
> For example, there is this
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/java-facets.html)
> 
> But ... haven't found anything that covers the Aggregations replacement.

I see - I don't find it there as well. You might want to check the JavaDoc\*  
(org.elasticsearch.action.search.SearchRequestBuilder for adding  
aggregations to search requests, org.elasticsearch.search.aggregations.\*  
for Aggregations specific docs).

When looking for examples, me personally, I like reading test cases (same  
package as above, just in the maven test folder), look for tests that use  
the Java client:

SearchResponse response = client().prepareSearch(".....").addAggregation...

Isabel

- If the elasticsearch hosted Javadoc isn't accessible you can always build  
it yourself from source with mvn javadoc:javadoc (located in the  
target/site/apidocs directory after building).

--  
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/CAFSgB-C7w-9PYXjyG6Eo\_QN%3DJxA4kGDq%3DeQh%2BAN-4gAv6yy%2BZA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAFSgB-C7w-9PYXjyG6Eo_QN%3DJxA4kGDq%3DeQh%2BAN-4gAv6yy%2BZA%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:09am UTC](https://discuss.elastic.co/t/org-elasticsearch-search-aggregations-docs/19209/5 "2017-07-06T01:09:16Z")

</div>


