-
Notifications
You must be signed in to change notification settings - Fork 33
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
DOCSP-35360: fix single index code snippet #332
DOCSP-35360: fix single index code snippet #332
Conversation
source/fundamentals/indexes.txt
Outdated
indexModel := mongo.IndexModel{ | ||
Keys: bson.D{{"title", 1}} | ||
Keys: bson.D{{"title", 1}}, |
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.
This line contains the syntax fix.
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.
lgtm but noticed some things
source/fundamentals/indexes.txt
Outdated
often in your queries and operations that return sorted results. You | ||
should track index memory and disk usage for capacity planning since | ||
often in your queries and operations that return sorted results. Track | ||
index memory and disk usage for capacity planning since | ||
each index that you add consumes disk space and memory. In addition, | ||
when a write operation updates an indexed field, MongoDB |
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.
S: noticed a double space here, fix
source/fundamentals/indexes.txt
Outdated
@@ -283,7 +290,7 @@ within the compound index. | |||
|
|||
Text indexes differ from the more powerful | |||
:atlas:`Atlas full text search indexes </atlas-search>`. | |||
Atlas users should use Atlas search. | |||
We recommend that Atlas search for Atlas users. |
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.
We recommend that Atlas search for Atlas users. | |
We recommend Atlas search for Atlas users. |
…x-code DOCSP-35360: fix single index code snippet (cherry picked from commit 7aa4036)
…x-code DOCSP-35360: fix single index code snippet (cherry picked from commit 7aa4036)
…x-code DOCSP-35360: fix single index code snippet (cherry picked from commit 7aa4036)
…x-code DOCSP-35360: fix single index code snippet (cherry picked from commit 7aa4036)
…x-code DOCSP-35360: fix single index code snippet (cherry picked from commit 7aa4036)
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-35360
Staging - https://preview-mongodbcchomongodb.gatsbyjs.io/golang/DOCSP-35360-fix-single-index-code/fundamentals/indexes/
Self-Review Checklist