title: Firestore error - query requires an index but indexes might not be feasible?
body: <p>I have a database of items and need to find the ones with matching tags and fetch them 10 at a time (or any given number).</p>
  
  <p>I've tried the following:</p>
  
  <pre><code>(await admin
                  .firestore()
                  .collection('media')
                  .orderBy('id')
                  .where('descriptions.tagSet.' + 'Test', '==', true)
                  .where('descriptions.tagSet.' + 'Test2', '==', true)
                  .startAt(start)
                  .limit(10)
                  .get()).docs;
  </code></pre>
  
  <p>At first I got an error about no index existing for 'id' so I created one using the link Firestore gave me.</p>
  
  <p>However the next error I got was that there's no composite index for descriptions.tagSet.Test.</p>
  
  <p>Unfortunately tags can be any arbitrary number of things, it doesn't seem feasible to have indexes for each possible tag (unless there's a quick programmatic way to create one?).</p>
  
  <p>I'm not sure how to solve this issue, it seems like something which should be simple enough.</p>