How does MongoDB handle range and nearest neighbor queries? what algorithms used?
I know MongoDB use GeoHash and B-Tree to index spatial data but how it handle the range and nearest neighbor queries are never mentioned in any doc.
Also, MongoDB can only handle 100 NN by using $near. That may implies that the NN algorithm is not efficient?