-
Couldn't load subscription status.
- Fork 69
support for [TEMPORARY {seconds}] on FT.CREATE #70
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #70 +/- ##
==========================================
+ Coverage 75.04% 75.27% +0.22%
==========================================
Files 12 12
Lines 1182 1197 +15
==========================================
+ Hits 887 901 +14
- Misses 231 233 +2
+ Partials 64 63 -1
Continue to review full report at Codecov.
|
| // To enable the temporary index creation, use SetTemporaryPeriod(). This method should be preferably used for disabling the flag | ||
| func (options *Options) SetTemporary(temporary bool) *Options { | ||
| options.Temporary = temporary | ||
| return options |
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.
Not sure someone will create a temporary object and then regret ... but it's ok to have this api I guess..
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.
I believe it makes sense if you want to reuse options across several creations. WDYT?
| @@ -0,0 +1,26 @@ | |||
| # Go parameters | |||
| GOCMD=go | |||
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.
Is it common on go project to have a Makefile?
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.
I knew someone would pick on the GOCMD =)
regarding the makefile I believe it helps both for developing, manual testing and CI. cc @rafie
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, added small comments but its not a blocker...
cc @gkorland