setTypes(SEARCH_TYPE).
setQuery(all).
setSize(0);
return request.get().getHits().getTotalHits();
}
<BUG>private List<Place> executeAndParse(QueryBuilder query, BoolFilterBuilder filter) {
Client client = elasticSearchClientFactory.getClient();
TermsFacetBuilder tagsFacet = FacetBuilders.termsFacet(TAGS).fields(TAGS).order(ComparatorType.COUNT).size(Integer.MAX_VALUE);</BUG>
SearchRequestBuilder request = client.prepareSearch(readIndex).
setTypes(SEARCH_TYPE).

setTypes(SEARCH_TYPE).
setQuery(all).
setSize(0);
return request.get().getHits().getTotalHits();
}
private List<Place> executeAndParse(QueryBuilder query) {
Client client = elasticSearchClientFactory.getClient();
SearchRequestBuilder request = client.prepareSearch(readIndex).
setTypes(SEARCH_TYPE).
