We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 507a0fb commit e36ca41Copy full SHA for e36ca41
mongo/options/searchindexoptions.go
@@ -23,6 +23,12 @@ func (sio *SearchIndexesOptions) SetName(name string) *SearchIndexesOptions {
23
return sio
24
}
25
26
+// SetType sets the value for the Type field.
27
+func (sio *SearchIndexesOptions) SetType(ty string) *SearchIndexesOptions {
28
+ sio.Type = &ty
29
+ return sio
30
+}
31
+
32
// CreateSearchIndexesOptions represents options that can be used to configure a SearchIndexView.CreateOne or
33
// SearchIndexView.CreateMany operation.
34
type CreateSearchIndexesOptions struct {
0 commit comments