Explanation:To adjust the weights for the indexed fields, include the weights option in the db.collection.createIndex() method. 10.For a ______ index, the weight of an indexed field denotes the significance of the field relative to the other indexed fields in terms of the score.
A. unique
B. natural
C. text
D. All of the mentioned
Answer:A
Explanation:To adjust the weights for the indexed fields, include the weights option in the db.collection.createIndex() method. 10.For a ______ index, the weight of an indexed field denotes the significance of the field relative to the other indexed fields in terms of the score.
A. unique B. natural C. text D. All of the mentioned
Explanation:If the compound text index includes keys preceding the text index key, to perform a $text search, the query predicate must include equality match conditions on the preceding keys. Sanfoundry Global Education & Learning Series – MongoDB.