Fix identation
This commit is contained in:
parent
eaa1674d6d
commit
12a2e761c5
|
@ -204,7 +204,9 @@ public class GlobalOrdinalsStringTermsAggregator extends AbstractStringTermsAggr
|
|||
return new StringTerms(name, order, bucketCountThresholds.getRequiredSize(), bucketCountThresholds.getShardSize(), bucketCountThresholds.getMinDocCount(), Arrays.asList(list), showTermDocCountError, 0, otherDocCount, metaData());
|
||||
}
|
||||
|
||||
/** This is used internally only, just for compare using global ordinal instead of term bytes in the PQ */
|
||||
/**
|
||||
* This is used internally only, just for compare using global ordinal instead of term bytes in the PQ
|
||||
*/
|
||||
static class OrdBucket extends InternalTerms.Bucket {
|
||||
long globalOrd;
|
||||
|
||||
|
@ -406,6 +408,8 @@ public class GlobalOrdinalsStringTermsAggregator extends AbstractStringTermsAggr
|
|||
mapping = null;
|
||||
}
|
||||
for (long i = 1; i < segmentDocCounts.size(); i++) {
|
||||
// We use set(...) here, because we need to reset the slow to 0.
|
||||
// segmentDocCounts get reused over the segments and otherwise counts would be too high.
|
||||
final int inc = segmentDocCounts.set(i, 0);
|
||||
if (inc == 0) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue