116117118119120121122123124125126
* @throws Exception * <br>See <a href="http://www.elasticsearch.org/guide/reference/api/search/facets/range-facet.html">documentation</a> */ @Test public void rangeFacet() throws Exception { RangeFacetBuilder facet = FacetBuilders.rangeFacet("f") .field("price") .addUnboundedFrom(3) .addRange(3, 6) .addUnboundedTo(6);