1.

The default name for the index consists of each indexed field name concatenated with _______(a) _char(b) _textc(c) _text(d) All of the mentionedThe question was asked in a job interview.Asked question is from Text Search in portion Index/Indexing Concepts of MongoDB

Answer»

The CORRECT answer is (c) _text

The explanation is: WHETHER the TEXT index has the default name or you SPECIFIED a name for the text index, to drop the text index, pass the index name to the db.collection.dropIndex() method.



Discussion

No Comment Found

Related InterviewSolutions