code: func (r *SearchRequest) AllowPartialSearchResults(allow bool) *SearchRequest {
  	r.allowPartialSearchResults = &allow
  	return r
  }
docs: // AllowPartialSearchResults indicates if this request should allow partial
  // results. (If method is not called, will default to the cluster level
  // setting).