-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.0
-
Component/s: None
-
Labels:None
Despite the fact that I define the Geonear as the first stage in the aggregation pipeline to filter an RDD by using the MongoDB Spark Connector (I followed this example)
I am getting the following error message:
"$geoNear is only valid as the first stage in a pipeline.", "code":40602, "codename": "Location40602".