public Grouping setAll(boolean all) {
        this.all = all;
        return this;
    }
Sets whether to perform grouping on the entire document corpus instead of only those matching the
search criteria. <b>NOTE:</b> This is only possible with streaming search.

@param all true to group all documents
@return this, to allow chaining
searchlib/src/main/java/com/yahoo/searchlib/aggregation/Grouping.java