Indexes returns a list of indexes and their statuses for store and its lower-level stores. Only indexes matching the criteria are returned. If indexChan is non-nil, it receives indexes as soon as they are found; when all matching indexes have been found, the func returns and all indexes are included in the returned slice.

The caller is responsible for closing indexChan after Indexes returns (if desired).

Indexes is referenced in 3 repositories