code: func (c *Client) GetPermanodesWithAttr(ctx context.Context, req *search.WithAttrRequest) (*search.WithAttrResponse, error) {
  	sr, err := c.SearchRoot()
  	if err != nil {
  		return nil, err
  	}
  	url := sr + req.URLSuffix()
  	hreq := c.newRequest(ctx, "GET", url)
  	hres, err := c.expect2XX(hreq)
  	if err != nil {
  		return nil, err
  	}
  	res := new(search.WithAttrResponse)
  	if err := httputil.DecodeJSON(hres, res); err != nil {
  		return nil, err
  	}
  	if err := res.Err(); err != nil {
  		return nil, err
  	}
  	return res, nil
  }
docs: // GetPermanodesWithAttr searches for permanodes that match the given search request.
  // The Fuzzy option in the request must not be set, and the Attribute option
  // must be set.
  // Only indexed attributes may be queried.