Thanks so much David!
Cheers
George
On Mar 15, 10:35 am, David Pilato da...@pilato.fr wrote:
Ok. I didn't understand the first post.
I think you are looking for this :Support "size": 0 for Term Facet 路 Issue #1776 路 elastic/elasticsearch 路 GitHubDavid
@dadoonetLe 15 mars 2012 脿 06:02, George Viju vijuit...@gmail.com a 茅crit :
Thanks...I used the code by removing the size and it is taking
default as 10facets..Here is my codesearchRequestBuilder.addFacet(FacetBuilders.termsFacet("namecount").field("
name.namesort"));
response= searchRequestBuilder.execute().actionGet();How can I get allfacetsof the wholeresponse?
Cheers!!
George
On Mar 14, 7:15 pm, "da...@pilato.fr" da...@pilato.fr wrote:
By default,facetsare computed on the wholeresponse.
I suggest to remove the .size(10).
HTH
Le 14 mars 2012 脿 14:03, George Viju vijuit...@gmail.com a 茅crit :
Hi all,
How can I get thefacetsof the wholeresponse?For Example
searchRequestBuilder.addFacet(FacetBuilders.termsFacet("namecount").field(" name.namesort").size(10));
response= searchRequestBuilder.execute().actionGet();
Here amgettingthefacetsfor the first 10 data in theresponse. How
can I get thefacetsfor the all data in the wholeresponse.Cheers!!
George
--
David Pilatohttp://dev.david.pilato.fr/
Twitter : @dadoonet