alphagov/rummager — pull request #264 by rboulton (2014-07-11 13:44:48+00:00)
Title: Avoid an empty msearch call when no facets

When requesting facet examples if there are no facets, we need to avoid
making a call to elasticsearch's msearch endpoint, because that returns
a 400 error if given an empty list of queries to run.