Skip to content

GODRIVER-3125 Allow to set search index type #1647

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

Closed
wants to merge 0 commits into from

Conversation

jeroenvervaeke
Copy link
Contributor

@jeroenvervaeke jeroenvervaeke commented May 27, 2024

Jira: GODRIVER-3125

Summary

Add the ability to pick the search index type when creating a new search index.

Background & Motivation

I'm working on CLOUDP-199915.
The goal of this ticket is to use the go-driver helpers instead of the createSearchIndex command.

What keeps me from doing this is that I'm not able to set the search index type using the mongo-go-driver yet.
This PR adds the ability to set the search index type.

Copy link
Contributor

API Change Report

./mongo/options

compatible changes

(*SearchIndexesOptions).SetType: added
SearchIndexesOptions.Type: added

@matthewdale matthewdale changed the title Allow to set search index type GODRIVER-3125 Allow to set search index type May 28, 2024
@blink1073 blink1073 closed this May 29, 2024
@blink1073
Copy link
Member

Pushing directly didn't work, so I opened #1649.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review-priority-low Low Priority PR for Review: within 3 business days
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants