List all terms of a significant term aggregation

I am running the following ES query

curl -X GET 'http://localhost:9200/imoveis/_search?pretty' -d
'{"query":{"terms":{"field1":["searchterm"]}},
"aggregations":{"significantQTypes":{"significant_terms":{"field":"field1"}}},
"size":0}'

and, instead of listing only the top 10 buckets, I would like to list 100
buckets or all of them. Still I am not sure how this is possible, any
suggestions? Thanks a lot!

--
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/0cd5a5d4-8f80-4a5b-a0ff-f24ce916a07b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You can do it by specifying size=100 in your significant terms aggregation
definition:

{"significant_terms":{"field":"field1", "size": 100}}

On Sat, Oct 4, 2014 at 7:21 PM, CC cr1st1na.garbacea@gmail.com wrote:

I am running the following ES query

curl -X GET 'http://localhost:9200/imoveis/_search?pretty' -d
'{"query":{"terms":{"field1":["searchterm"]}},
"aggregations":{"significantQTypes":{"significant_terms":{"field":"field1"}}},
"size":0}'

and, instead of listing only the top 10 buckets, I would like to list 100
buckets or all of them. Still I am not sure how this is possible, any
suggestions? Thanks a lot!

--
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/0cd5a5d4-8f80-4a5b-a0ff-f24ce916a07b%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/0cd5a5d4-8f80-4a5b-a0ff-f24ce916a07b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
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/CAL6Z4j76%3D2Gif7Tii_Pw7qJRmLWnLS%2B9TL8gQBv_LHOwtgQqfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.