Skip to content

Conversation

jeroenvervaeke
Copy link
Member

@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