Explanation:If a document does not have a value for the indexed field in a unique index, the index will store a null value for this document. 8. Which of the following method is to verify whether MongoDB used index intersection ?
A. explain()
B. analyze()
C. intersect()
D. None of the mentioned
Answer:A
Explanation:If a document does not have a value for the indexed field in a unique index, the index will store a null value for this document. 8. Which of the following method is to verify whether MongoDB used index intersection ?
A. explain() B. analyze() C. intersect() D. None of the mentioned
Explanation:To determine if MongoDB used index intersection, run explain(); the results of explain() will include either an AND_SORTED stage or an AND_HASH stage. 9. You may not specify a unique constraint on a ______ index.