-
Notifications
You must be signed in to change notification settings - Fork 99
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
fix: prioritize the manual set full text index option per dictionary #1730
Conversation
23f4bac
to
67081f0
Compare
src/dict/dictionary.hh
Outdated
//default to true; | ||
bool enable_FTS = true; | ||
std::optional< bool > enable_FTS; |
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.
Comment is wrong now. It should be changed to "The enable_fts option in metadata.toml"
I think enable_FTS should be renamed to metadata_enable_FTS.
As of now, the 3 variables
- can_FTS
- fts.enabled
- enable_FTS
have no obvious difference.
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.
To properly initialize std::optional< bool > metadata_enable_FTS = std::nullopt
Quality Gate failedFailed conditions |
No description provided.