public GroupingLevel setFilter(FilterExpressionNode filter) {
        this.filter = filter;
        return setV2(); // Always v2 when filter is set
    }
Sets the expression used to classify hits into groups.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/GroupingLevel.java