public SearchRequest addAggregation(Aggregation agg) {
    size = null; // we return aggs, not source data
    _source = false;
    if (aggs == null) aggs = new LinkedHashMap<>();
    aggs.put(agg.field, agg);
    return this;
  }
The maximum results returned in a query. This only affects non-aggregation requests.

<p>Not configurable as it implies adjustments to the index template (index.max_result_window)

<p> See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
zipkin-storage/elasticsearch/src/main/java/zipkin2/elasticsearch/internal/client/SearchRequest.java