[COMPASS-2762] Add Support for $near and $nearSphere Created: 18/Apr/18  Updated: 29/Oct/23  Resolved: 27/Nov/18

Status: Closed
Project: Compass
Component/s: Aggregation pipeline, Compass, Query
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kip Iwakiri (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Duplicate
is duplicated by COMPASS-2761 As a Compass user, I need support for... Closed
Documentation Changes: Needed
Documentation Changes Summary:

We do not currently tell customers that $near and $nearSphere are unsupported. We should tell customers that these are unsupported... this will require us to remove this documentation when/if this is implemented.


 Description   

Compass does not currently support the $near or $nearSphere query operators. This is because they don't provide additional functionality in the schema view. However, they would provide sorting in the documents view if they were added.

It would also make it possible for customers to use the same queries in Compass that they are using in their applications when those queries include $near or $nearSphere. Right now it's not possible for a customer to put a $near or $nearSphere query from their application and paste it into Compass to check the explain plan, etc.

This will have a workaround when aggregation is implemented as long as $geoNear is available.



 Comments   
Comment by Massimiliano Marcon [ 27/Nov/18 ]

Tracked in COMPASS-2761

Generated at Wed Feb 07 22:30:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.