adplus-dvertising
frame-decoration

Question

________ index must exist on a field holding coordinates before using any of the geospatial query operators.

a.

Unique

b.

Geospatial

c.

Temporal

d.

All of the mentioned

Posted under MongoDB

Answer: (b).Geospatial

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. ________ index must exist on a field holding coordinates before using any of the geospatial query operators.

Similar Questions

Discover Related MCQs

Q. When creating a text index on multiple fields, you can specify the individual fields or you can use wildcard specifier ______

Q. Point out the wrong statement.

Q. The default language for the indexed data is ________

Q. If a collection contains documents or embedded documents that are in different languages, include a field named _______ in the documents.

Q. Point out the correct statement.

Q. To use a field with a name other than language, include the ________ option when creating the index.

Q. The default name for the index consists of each indexed field name concatenated with _______

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.

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

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. _________ operations that use an index often have better performance than those that do not use an index.

Q. Point out the wrong statement.

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. Sort operations that do not use an index will abort when they use _______ megabytes of memory.

Q. Point out the correct statement.

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

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

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

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

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