code: func (c *Conn) GetCatIndexInfo(pattern string) (catIndices []CatIndexInfo) {
  	catIndices = make([]CatIndexInfo, 0)
  	//force it to only show the fileds we know about
  	args := map[string]interface{}{"bytes": "b", "h": "health,status,index,pri,rep,docs.count,docs.deleted,store.size,pri.store.size"}
  	indices, err := c.DoCommand("GET", "/_cat/indices/"+pattern, args, nil)
  	if err == nil {
  		indexLines := strings.Split(string(indices[:]), "\n")
  		for _, index := range indexLines {
  			ci, _ := NewCatIndexInfo(index)
  			if nil != ci {
  				catIndices = append(catIndices, *ci)
  			}
  		}
  	}
  	return catIndices
  }
docs: // Pull all the index info from the connection