text: public GroupedFacetResult(int size, int minCount, boolean orderByCount, int totalCount, int totalMissingCount) {this.facetEntries = new TreeSet<>(orderByCount ? orderByCountAndValue : orderByValue);this.totalMissingCount = totalMissingCount;this.totalCount = totalCount;maxSize = size;currentMin = minCount;}