1.

To use a field with a name other than language, include the ________ option when creating the index.(a) language_over(b) language_override(c) langoverride(d) none of the mentionedThis question was addressed to me in a job interview.This question is from Text Search in portion Index/Indexing Concepts of MongoDB

Answer»

The CORRECT ANSWER is (B) language_override

Easiest explanation: You cannot combine the $text query, which requires a special text INDEX, with a query operator that requires a different type of special index.



Discussion

No Comment Found

Related InterviewSolutions