code: public SearchResult withStats(java.util.Map<String, FieldStats> stats) {
          setStats(stats);
          return this;
      }
docs: <p>
  The requested field statistics information.
  </p>
  
  @param stats
  The requested field statistics information.
  @return Returns a reference to this object so that method calls can be chained together.