Remove deprecated CardinalityAggregationBuilder#rehash method (#37154)
It has been deprecated since at least 6.0, is a no-op and unused in the rest of our code.
This commit is contained in:
parent
d18c3d651d
commit
60742b12e9
|
@ -122,14 +122,6 @@ public final class CardinalityAggregationBuilder
|
||||||
return precisionThreshold;
|
return precisionThreshold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated no replacement - values will always be rehashed
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public void rehash(boolean rehash) {
|
|
||||||
// Deprecated all values are already rehashed so do nothing
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected CardinalityAggregatorFactory innerBuild(SearchContext context, ValuesSourceConfig<ValuesSource> config,
|
protected CardinalityAggregatorFactory innerBuild(SearchContext context, ValuesSourceConfig<ValuesSource> config,
|
||||||
AggregatorFactory<?> parent, Builder subFactoriesBuilder) throws IOException {
|
AggregatorFactory<?> parent, Builder subFactoriesBuilder) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue