diff --git a/pinot-core/src/main/java/org/apache/pinot/core/operator/filter/FilterOperatorUtils.java b/pinot-core/src/main/java/org/apache/pinot/core/operator/filter/FilterOperatorUtils.java index ac30591c6070..45f7d1a56787 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/operator/filter/FilterOperatorUtils.java +++ b/pinot-core/src/main/java/org/apache/pinot/core/operator/filter/FilterOperatorUtils.java @@ -219,7 +219,8 @@ int getPriority(BaseFilterOperator filterOperator) { if (filterOperator instanceof SortedIndexBasedFilterOperator) { return PrioritizedFilterOperator.HIGH_PRIORITY; } - if (filterOperator instanceof BitmapBasedFilterOperator) { + if (filterOperator instanceof BitmapBasedFilterOperator + || filterOperator instanceof InvertedIndexFilterOperator) { return PrioritizedFilterOperator.MEDIUM_PRIORITY; } if (filterOperator instanceof RangeIndexBasedFilterOperator