break; case "field": histogram.field(value); break; case "min_doc_count":
@JsonIgnore @Override public HistogramAggregationBuilder getEsAggregate() { HistogramAggregationBuilder ret = AggregationBuilders.histogram(getId()).field(getField()); Map<String, String> props = getProperties(); ret.interval(getInterval());
break; case "field": histogram.field(value); break; case "min_doc_count":
} else { HistogramAggregationBuilder histogramAgg = AggregationBuilders.histogram(aggName); histogramAgg.field(propertyName); histogramAgg.interval(Double.parseDouble(agg.getInterval())); histogramAgg.minDocCount(1L);
} else { HistogramAggregationBuilder histogramAgg = AggregationBuilders.histogram(aggName); histogramAgg.field(propertyName); histogramAgg.interval(Double.parseDouble(agg.getInterval())); histogramAgg.minDocCount(1L);