-
Notifications
You must be signed in to change notification settings - Fork 51
DOCSP-29802: explain text index field weights #685
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-29802: explain text index field weights #685
Conversation
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.
Added a few suggestions one that is more strictly based on the style guide and a few others.
When creating a compound text index, you can specify a weight option to | ||
prioritize certain text fields in your index relative to the other | ||
indexed fields. When you execute a text search, the field weights |
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.
Suggestion: Can you break up this sentence into smaller sentences for readability? Based on the style guide, this is on the cusp of the suggested word length.
When creating a compound text index, you can specify a weight option to | |
prioritize certain text fields in your index relative to the other | |
indexed fields. When you execute a text search, the field weights | |
When creating a compound text index, you can specify a weight option to | |
prioritize certain text fields in your index. Fields can be weighted relative to the other | |
indexed fields. When you execute a text search, the field weights |
See the MongoDB server manual to learn more about :manual:`text indexes | ||
</core/index-text/>`. |
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.
Suggestion: Put the reason for the link first. Sharing the link to the style guide here.
See the MongoDB server manual to learn more about :manual:`text indexes | |
</core/index-text/>`. | |
To learn more about text indexes, see :manual:`text indexes </core/index-text/>` in the MongoDB server manual. |
source/fundamentals/indexes.txt
Outdated
The following is an example of a query that uses the text index created | ||
in the previous code: |
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.
Suggestion: Simplify
The following is an example of a query that uses the text index created | |
in the previous code: | |
The following query uses the text index created | |
in the previous code: |
* DOCSP-29802: explain text index field weights * CD PR fixes (cherry picked from commit 1bb2ae4)
* DOCSP-29802: explain text index field weights * CD PR fixes (cherry picked from commit 1bb2ae4)
* DOCSP-29802: explain text index field weights * CD PR fixes (cherry picked from commit 1bb2ae4)
* DOCSP-29802: explain text index field weights * CD PR fixes (cherry picked from commit 1bb2ae4)
* DOCSP-29802: explain text index field weights * CD PR fixes (cherry picked from commit 1bb2ae4)
* DOCSP-29802: explain text index field weights * CD PR fixes (cherry picked from commit 1bb2ae4)
* DOCSP-29802: explain text index field weights * CD PR fixes
Pull Request Info
PR Reviewing Guidelines
JIRA - DOCSP-29802
Staging:
Self-Review Checklist