diff --git a/lucene/facet/src/java/org/apache/lucene/facet/old/OldFacetsAccumulator.java b/lucene/facet/src/java/org/apache/lucene/facet/old/OldFacetsAccumulator.java index 0b84047e0a0..48ec7c5049f 100644 --- a/lucene/facet/src/java/org/apache/lucene/facet/old/OldFacetsAccumulator.java +++ b/lucene/facet/src/java/org/apache/lucene/facet/old/OldFacetsAccumulator.java @@ -374,7 +374,7 @@ public class OldFacetsAccumulator extends TaxonomyFacetsAccumulator { FacetIndexingParams indexingParams = searchParams.indexingParams; for (FacetRequest facetRequest : searchParams.facetRequests) { - Aggregator categoryAggregator = createAggregator(facetRequest, facetArrays); // TODO: remove! facetRequest.createAggregator(isUsingComplements, facetArrays, taxonomyReader); + Aggregator categoryAggregator = createAggregator(facetRequest, facetArrays); CategoryListIterator cli = indexingParams.getCategoryListParams(facetRequest.categoryPath).createCategoryListIterator(partition);