adplus-dvertising
frame-decoration

Question

________ returns a document only once for a geospatial query even if the document matches the query multiple times.

a.

$uniqueDocs

b.

$unique

c.

$Docs

d.

All of the mentioned

Answer: (a).$uniqueDocs

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. ________ returns a document only once for a geospatial query even if the document matches the query multiple times.

Similar Questions

Discover Related MCQs

Q. Only the ______ geospatial index supports the $polygon operator.

Q. _________ specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.

Q. Applications can use _________ without having a geospatial index.

Q. Point out the correct statement.

Q. When used with the $box operator, _________ returns documents based on grid coordinates and does not query for GeoJSON shapes.

Q. _________ defines a circle for a geospatial query that uses spherical geometry.

Q. Point out the wrong statement.

Q. __________ query calculates distances using flat (planar) geometry.

Q. ________ is the ability of a query to narrow results using the index.

Q. Indexes do not have to fit entirely into ______ in all cases.

Q. __________ method provides a wrapper around the totalIndexSize output of the collStats (i.e. db.collection.stats()) operation.

Q. An index can support sort operations on a non-prefix subset of the index key pattern using _________ condition.

Q. Point out the correct statement.

Q. Sort operations that do not use an index will abort when they use _______ megabytes of memory.

Q. A prefix of a _______ index is a subset that consists of one or more keys at the start of the index key pattern.

Q. Point out the wrong statement.

Q. _________ operations that use an index often have better performance than those that do not use an index.

Q. For a ______ index, the weight of an indexed field denotes the significance of the field relative to the other indexed fields in terms of the score.

Q. The default weight is ____ for the indexed fields.

Q. To avoid creating an index with a name that exceeds the index name length limit, you can pass the _____ option to the db.collection.createIndex() method.