Java API, returnrned result count vs total count

Hello,

I can't find Javadocs for ElasticSearch online anywhere and they don't seem
to be part of the 0.9RC1 maven repo, so I have a simple question.

I have a SearchResponse, I can get the total number of items in the
returned result, but how do I get the total number of items including items
not returned in the result?

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

Hi Matt,

try org.elasticsearch.action.search.SearchResponse.getHits().getTotalHits()

Michael

On Monday, April 1, 2013 11:02:35 PM UTC+2, Matt Chambers wrote:

Hello,

I can't find Javadocs for ElasticSearch online anywhere and they don't
seem to be part of the 0.9RC1 maven repo, so I have a simple question.

I have a SearchResponse, I can get the total number of items in the
returned result, but how do I get the total number of items including items
not returned in the result?

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