1.

______ indexes can be constructed over arrays that hold both scalar values (e.g. strings, numbers) and nested documents.(a) Hashed(b) Unique(c) Multikey(d) CompoundThe question was posed to me in unit test.My query is from Index Types in division Index/Indexing Concepts of MongoDB

Answer»

The CORRECT choice is (c) Multikey

Easiest explanation: STORE your LOCATION data as GeoJSON OBJECTS with this coordinate-axis order: LONGITUDE, latitude.



Discussion

No Comment Found

Related InterviewSolutions