I have been building a production-ready application with Rag. the data is in two categories. primary data and secondary data. for each question from the user, we have to show the primary data and secondary data related to that. For better latency, which approach is better ??
1 - use one index, but 2 namespace.
2 - use 2 indexes for 2 categories
3 - use 1 index and 1 namespace, add a metadata type, set “primary” and “secondary” over there, and use metadata filtering.