Org.elasticsearch.search.aggregations docs


(Jeff Steinmetz) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4023b71f-1b17-4aec-ad3c-b042d2b93dbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Isabel Drost-Fromm) #2

On Mon, Aug 11, 2014 at 10:47 PM, Jeff Steinmetz <
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:

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.
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.
For more options, visit https://groups.google.com/d/optout.


(Jeff Steinmetz) #3

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

For example, there is this
http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/java-facets.html

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
<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:

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6551218f-ce51-4fa5-9334-a7952327929c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Isabel Drost-Fromm) #4

On Tue, Aug 12, 2014 at 1:13 AM, Jeff Steinmetz <jeffrey.steinmetz@gmail.com

wrote:

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

For example, there is this

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.
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.
For more options, visit https://groups.google.com/d/optout.


(system) #5