1
Indexing and Performance
hard
Refer to the exhibit. A developer attempts to run a query using both 'tags' and 'location' in a single $and operation. What is the expected behavior regarding index usage?
Exhibit
db.collection.createIndex({ 'tags': 1 })
db.collection.createIndex({ 'location': '2dsphere' })