code: public SearchResult withFacets(java.util.Map<String, BucketInfo> facets) {
          setFacets(facets);
          return this;
      }
docs: <p>
  The requested facet information.
  </p>
  
  @param facets
  The requested facet information.
  @return Returns a reference to this object so that method calls can be chained together.