Try something like that...
"aggs": {
"agg_name": {
"terms": {
"field": "my_field",
"size": 100
}
}
}
Am Donnerstag, 14. August 2014 16:40:11 UTC+2 schrieb julie dabbs:
>
> Unfortunately this does not change the total of results returned
>
> On Thursday, August 14, 2014 9:31:12 AM UTC+1, julie dabbs wrote:
>>
>> Does anyone know how to execute a query with aggregations and once the
>> query is complete only show the top 100 hits in a browser.
>> If I use filter limit I am not getting the best results. If I use still
>> am displaying a ridiculous total hits back to the user. I am running on
>> version
>> 1.3. Can anyone help
>>
>
--
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/36d438ad-707c-49ed-89fa-37b4643386b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.