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:
Christoph Büscher 2019-01-07 10:42:07 +01:00 committed by GitHub
parent d18c3d651d
commit 60742b12e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -122,14 +122,6 @@ public final class CardinalityAggregationBuilder
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
protected CardinalityAggregatorFactory innerBuild(SearchContext context, ValuesSourceConfig<ValuesSource> config,
AggregatorFactory<?> parent, Builder subFactoriesBuilder) throws IOException {