public static void validate(Query query) {
        if (query.getHttpRequest().getProperty(GROUPING_GLOBAL_MAX_GROUPS.toString()) != null)
            throw new IllegalInputException(GROUPING_GLOBAL_MAX_GROUPS + " must be specified in a query profile.");
    }
This searcher is responsible for turning the "select" parameter into a corresponding {@link GroupingRequest}. It will
also parse any "timezone" parameter as the timezone for time expressions such as {@link
com.yahoo.search.grouping.request.DayOfMonthFunction} and {@link com.yahoo.search.grouping.request.HourOfDayFunction}.

@author Simon Thoresen Hult
container-search/src/main/java/com/yahoo/search/grouping/GroupingQueryParser.java