code: func ParseSearchIndexInfo(reposName string) (*registrytypes.IndexInfo, error) {
  	indexName, _ := splitReposSearchTerm(reposName)
  
  	indexInfo, err := newIndexInfo(emptyServiceConfig, indexName)
  	if err != nil {
  		return nil, err
  	}
  	return indexInfo, nil
  }
docs: // ParseSearchIndexInfo will use repository name to get back an indexInfo.