code: func (s *CatIndicesService) PrimaryOnly(primaryOnly bool) *CatIndicesService {
  	s.primaryOnly = &primaryOnly
  	return s
  }
docs: // PrimaryOnly when set to true returns stats only for primary shards (default: false).