On Tue, Aug 12, 2014 at 1:13 AM, Jeff Steinmetz <[email protected]
> 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 [email protected].
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.

Reply via email to