private void analyzeQuery(Query query) {
        var presentation = query.getPresentation();
        this.summaryFromQuery = presentation.getSummary();
        this.fieldsFromQuery = presentation.getSummaryFields();
    }
resolve summary class to use when none provided
container-search/src/main/java/com/yahoo/prelude/fastsearch/PartialSummaryHandler.java