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
CLOUDP-67056: Implement search API in the go client #111
Conversation
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! just a couple of var names that I noticed
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!
@themantissa ready for you |
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.
One question as it seemed an odd one to leave out but otherwise LGTM so approving. Will add DoU devs for review.
CreateIndex(context.Context, string, string, *SearchIndex) (*SearchIndex, *Response, error) | ||
UpdateIndex(context.Context, string, string, string, *SearchIndex) (*SearchIndex, *Response, error) | ||
DeleteIndex(context.Context, string, string, string) (*Response, error) | ||
ListAnalyzers(context.Context, string, string, *ListOptions) ([]*SearchAnalyzer, *Response, error) |
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.
Curious if leaving Update Analyzers out was intentional? (https://docs.atlas.mongodb.com/reference/api/fts-analyzers-update-all/)
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.
Somewhat intentional, there are plans to deprecate Custom Analyzers so I'm trying to limit us to only read them (if ever needed)
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! thanks 👍
0c71afa
Description
Add search support
Type of change:
Required Checklist:
make fmt
and formatted my code