Use ES 1.x term aggregations feature to implement facets