Skip to content
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

DRIVERS-2768: Restore missing "type" option docs for search indexes #1650

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Sep 5, 2024

https://jira.mongodb.org/browse/DRIVERS-2768

b746fcc incorrectly added the "type" option to IndexOptions instead of SearchIndexOptions. Moreover, that change was made to the RST file after it was converted to Markdown (5c13119) and shortly before it was replaced with a stub pointing to the Markdown file (47c97fb). As a result, the change was entirely lost.

This adds back documentation for the "type" option and also restructures the SearchIndexModel and SearchIndexOptions definitions to be more consistent with IndexModel and IndexOptions. The "name" option is no longer duplicated between both interfaces.

Please complete the following before merging:

  • Update changelog.

b746fcc incorrectly added the "type" option to IndexOptions instead of SearchIndexOptions. Moreover, that change was made to the RST file after it was converted to Markdown and shortly before it was replaced with a stub pointing to the Markdown file. As a result, the change was entirely lost.

This adds back documentation for the "type" option and also restructures the SearchIndexModel and SearchIndexOptions definitions to be more consistent with IndexModel and IndexOptions. The "name" option is no longer duplicated between both interfaces.
@jmikola jmikola requested a review from a team as a code owner September 5, 2024 16:42
Copy link
Contributor

@NoahStapp NoahStapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, Jeremy! Thanks for the fix.

@jmikola jmikola merged commit 39db05c into mongodb:master Sep 5, 2024
3 checks passed
@jmikola jmikola deleted the drivers-2768-missing_from_md branch September 5, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants