-
Notifications
You must be signed in to change notification settings - Fork 52
DOCSP-30419: manage search indexes #709
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-30419: manage search indexes #709
Conversation
I'm unsure if these sections are necessary, or if we should link out to the Atlas documentation. Didn't want to delete Nick's work done on this page previously without asking the reviewer. |
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.
Nice job! Just a few small things.
source/fundamentals/indexes.txt
Outdated
|
||
.. literalinclude:: /code-snippets/indexes/listIndexes.js | ||
Starting in version 5.7 of the {+driver-short+}, you can manage your |
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: I'm not sure if there's a rule about this, but I shy away from the "starting in version..." language. This should only be visible from the 5.7 docs and up anyway.
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.
removed
source/fundamentals/indexes.txt
Outdated
Starting in version 5.7 of the {+driver-short+}, you can manage your | ||
Search indexes using the following methods: |
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.
I: using
S:
Starting in version 5.7 of the {+driver-short+}, you can manage your | |
Search indexes using the following methods: | |
Starting in version 5.7 of the {+driver-short+}, you can use the | |
following methods to manage your Search indexes: |
source/fundamentals/indexes.txt
Outdated
The following sections provide example code using each of the preceding | ||
methods to manage Search indexes. |
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.
The following sections provide example code using each of the preceding | |
methods to manage Search indexes. | |
The following sections provide code samples that use each of the preceding | |
methods to manage Search indexes. |
source/fundamentals/indexes.txt
Outdated
When connecting to {+mdb-server+} version 7.0 or later, you can use the new `listSearchIndexes() | ||
<https://mongodb.github.io/node-mongodb-native/Next/classes/Collection.html#listSearchIndexes>`__ | ||
You can use the `listSearchIndexes() | ||
<{+api+}/classes/Collection.html#listSearchIndexes>`__ | ||
method to return a cursor that contains the search indexes of a given |
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.
"search index" is capitalized everywhere else
source/fundamentals/indexes.txt
Outdated
The following sections provide example code using each of the preceding | ||
methods to manage Search indexes. |
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: Maybe a minor thing, but there's no example for createSearchIndexes()
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.
there should be -- investigating why the example isnt showing
source/fundamentals/indexes.txt
Outdated
The following sections provide example code using each of the preceding | ||
methods to manage Search indexes. | ||
|
||
Create Search Indexes |
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: Change each section title to match the method it's demonstrating. So this one would be "Create a Search Index". Applies to all these sections.
6e838b2
to
aa88277
Compare
aa88277
to
f6067cd
Compare
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!
* DOCSP-30419: manage search indexes * fix literalinclude * MW PR fixes 1 * include fix * wn fix (cherry picked from commit 3cb535b)
* DOCSP-30419: manage search indexes * fix literalinclude * MW PR fixes 1 * include fix * wn fix
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-30419
Staging - https://docs-mongodbcom-staging.corp.mongodb.com/node/docsworker-xlarge/DOCSP-30419-searchindexes-api/fundamentals/indexes/#search-indexes
Self-Review Checklist