Question
a.
{ $meta: “textScore” } expression is only meaningful in a pipeline that includes a $match stage with a $text query
b.
The { $meta: “textScore” } expression is the only expression that the $sort stage accepts
c.
$toLower only has a well-defined behavior for strings of ASCII characters
d.
None of the mentioned
Posted under MongoDB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Point out the wrong statement.
Similar Questions
Discover Related MCQs
Q. _______ is used for access text search metadata.
View solution
Q. Which of the following accepts named parameters?
View solution
Q. _______ returns the number of elements in the array.
View solution
Q. _________ returns a value without parsing.
View solution
Q. db.collection.aggregate() returns a _______ and can return result sets of any size.
View solution
Q. The _____ JavaScript engine allows multiple JavaScript operations to execute at the same time.
View solution
Q. Point out the correct statement.
View solution
Q. If the ______ field for mapReduce has the sharded value, MongoDB shards the output collection using the _id field as the shard key.
View solution
Q. In MongoDB __________ mongos retrieves the results from each shard, performs a merge sort to order the results.
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following function follows the reduce method and modifies the output?
View solution
Q. __________ specifies global variables that are accessible in the map.
View solution
Q. MongoDB converts the JavaScript objects emitted by the map function to ________ objects.
View solution
Q. You can only use jsMode for result sets with fewer than 500,000 distinct key arguments to the mapper’s _______ function.
View solution
Q. Which of the following mode defaults to false?
View solution
Q. $dayOfMonth returns the day of the month for a date as a number between ________________
View solution
Q. Point out the wrong statement.
View solution
Q. __________ returns the day of the year for a date as a number between 1 and 366.
View solution
Q. Which of the following returns year for particular date?
View solution
Q. Point out the wrong statement.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MongoDB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!