The community members are discussing different approaches to performing queries on multiple indices. Some suggest using a SubQuestionQueryEngine and QueryEngineTool for each index, while others recommend creating a Composable Graph Index with all the indices. The discussion highlights that the SubQuestionQueryEngine and RouterQuery engine may not work well with open-source models, and they are considered outdated and unmaintained. The community members suggest using an embedding router, which is more stable, and associating an embedding with each index to implement a search of those embeddings to retrieve the index.
When trying to perform queries on multiple index i've seen there are different approaches. Should I be using a SubQuestionQueryEngine with and QueryEngineTool for every index or make an Composable Graph Index with all the Indices, or maybe both.
Just be careful, both of those only scale to so many indexes (like 10 or so). If you have more, you might have to introduce a step to filter them down using embeddings