[DOCS-1299] Comment on: "manual/reference/operator/maxDistance.txt" Created: 25/Mar/13  Updated: 03/Nov/17  Resolved: 25/Mar/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Unassigned
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongo shell

Location: http://docs.mongodb.org/manual/reference/operator/maxDistance/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Referrer: https://www.google.com/
Screen Resolution: 1280 x 800
repo: docs
source: reference/operator/maxDistance


Participants:
Days since reply: 10 years, 47 weeks, 2 days ago

 Description   

There is a different result when using operator '$maxDistance' and '$maxDistance ' (space included).



 Comments   
Comment by Kay Kim (Inactive) [ 25/Mar/13 ]

'$maxDistance ' with a space is not a valid operator. a string with a space at the end is not equal to the string w/o the space unless you trim, so this works as designed.

Generated at Thu Feb 08 07:40:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.