Is it possible to search from a collection of indexes?

Hi there,
Given that I have several indexes created separately, how difficult is it to merge results from them?
I understand that yacy has a distributed search that persists, but I’m curious how feasible it would be search across separate indexes or if it would make more sense to merge a set of indexes together for a single query?