mozilla/elasticutils — pull request #193 by kevinastone (2013-12-29 20:23:35+00:00)
Title: Added support for a `size` parameter to facets.

Fixes #192.

You can now limit the number of facets returned by passing the `size` parameter:

>>> s.facet('category', size=5).facet_counts()

Signed-off-by: Kevin Stone