-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DOCS-14756: minor fixes to multikey-index-bounds.txt and index-wildcard.txt #5722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -349,10 +349,10 @@ field ``ratings`` to require that the array contains at least one | |
|
||
Taking the predicates separately: | ||
|
||
- the bounds for the ``score: { $lte: 5 }`` predicate is ``[ -Infinity, 5 | ||
]``; | ||
- the bounds for the ``score: { $lte: 5 }`` predicate are ``[ [ -Infinity, 5 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with changing "is" to "are", but what is the motivation for the double square brackets? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It appears like this in all other places on this page. Search "[ [" to see the other occurrences. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it, thank you for clarifying! You're absolutely correct. |
||
] ]``; | ||
|
||
- the bounds for the ``by: "anon"`` predicate is ``[ "anon", "anon" ]``. | ||
- the bounds for the ``by: "anon"`` predicate are ``[ [ "anon", "anon" ] ]``. | ||
|
||
MongoDB can compound the two bounds to use the combined bounds of: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this fix!