Create api key to query multiple indices, each with separate tags

Hello! I want to start by thanking your team for their great work–Algolia is a pleasure to use! :slight_smile:

I’m trying to query data from two indices: IndexA + IndexB. More particularly, I need to fetch records from IndexA if they have tag SecureA, and I need to fetch records from IndexB if they have SecureB. However, no documents in IndexA have tag SecureB, and no documents in IndexB have tag SecureA.

Is there a way to fetch these documents in a single query? As I’m typing this I realized I can add tag SecureZ to all documents that should be fetched. But is there a way to get the needed docs without adding this “union” secure tag?