public function getAllIndexes()
    {
        foreach ($this->indexes as $type => $indexList) {
            // If we hit the "ALL" type, skip it for now
            if ($type == self::TYPE_ALL) {
                continue;
            }

            // Otherwise yield all indexes registered against this type
            foreach ($this->getIndexes($type, false) as $index) {
                yield $type => $index;
            }
        }

        foreach ($this->getIndexes(self::TYPE_ALL) as $index) {
            yield self::TYPE_ALL => $index;
        }
    }