code: func (c *Client) DeleteIndex(index *Index) error {
  	span := c.tracer.StartSpan("Client.DeleteIndex")
  	defer span.Finish()
  
  	path := fmt.Sprintf("/index/%s", index.name)
  	_, _, err := c.httpRequest("DELETE", path, nil, nil, false)
  	return err
  
  }
docs: // DeleteIndex deletes an index on the server.