code: public TermsByQueryRequest query(QueryBuilder queryBuilder) {
      this.querySource = queryBuilder == null ? null : queryBuilder.buildAsBytes();
      return this;
    }
docs: The query source to execute.
  
  @see {@link org.elasticsearch.index.query.QueryBuilders}