.addAggregation(AggregationBuilders
.terms(indexField.field())
.field(indexField.field())
.order(Terms.Order.count(false))
.size(Integer.MAX_VALUE)
<BUG>.minDocCount(0)).get()

.getAggregations().get(indexField.field());
</BUG>
for (Terms.Bucket value : values.getBuckets()) {

.addAggregation(AggregationBuilders
.terms(indexField.field())
.field(indexField.field())
.order(Terms.Order.count(false))
.size(Integer.MAX_VALUE)
.minDocCount(0));
basicProfile.stop(request.toString());
SearchResponse response = request.get();
fullProfile.stop(response.toString());
Terms values =
response.getAggregations().get(indexField.field());
for (Terms.Bucket value : values.getBuckets()) {
