aparo / pyes

Python connector for ElasticSearch - the pythonic way to use ElasticSearch
BSD 3-Clause "New" or "Revised" License
606 stars 269 forks source link

Provide documentation on how to use aggregations #417

Open rightaway opened 10 years ago

rightaway commented 10 years ago

The main page of pyes says it supports aggregations, but on readthedocs I wasn't able to find out how to use them. There are many different types of aggregations possible in ElasticSearch (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations.html), having examples in the documentation of how to do a few of them would be very useful. At least something so people can get started with it.