1.

Point out the correct statement.(a) After 2.4, you can terminate both background index builds and foreground index builds(b) The specified language in the document overrides the default language for the text index(c) The text index, like other indexes, should not fall within the index name length limit(d) None of the mentionedI had been asked this question in homework.I want to ask this question from Text Search in portion Index/Indexing Concepts of MongoDB

Answer» RIGHT answer is (b) The specified LANGUAGE in the document overrides the default language for the text index

Explanation: To GET the names of the indexes, USE the db.collection.getIndexes() method.


Discussion

No Comment Found

Related InterviewSolutions