1.

If a collection contains documents or embedded documents that are in different languages, include a field named _______ in the documents.(a) operator(b) lang(c) language(d) all of the mentionedI got this question in class test.I would like to ask this question from Text Search in portion Index/Indexing Concepts of MongoDB

Answer»

The correct option is (B) lang

To EXPLAIN: MongoDB will use the specified language for that DOCUMENT or embedded document when building the TEXT index.



Discussion

No Comment Found

Related InterviewSolutions