code: public SearchIndexResult withThings(ThingDocument... things) {
          if (this.things == null) {
              setThings(new java.util.ArrayList<ThingDocument>(things.length));
          }
          for (ThingDocument ele : things) {
              this.things.add(ele);
          }
          return this;
      }
docs: <p>
  The things that match the search query.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setThings(java.util.Collection)} or {@link #withThings(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param things
  The things that match the search query.
  @return Returns a reference to this object so that method calls can be chained together.