Skip to content
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

Merged
merged 7 commits into from
Aug 21, 2024

Conversation

xiaoyifang
Copy link
Owner

No description provided.

Comment on lines 318 to 319
//default to true;
bool enable_FTS = true;
std::optional< bool > enable_FTS;
Copy link
Collaborator

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.

Copy link
Collaborator

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

Copy link

sonarcloud bot commented Aug 21, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
76.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@xiaoyifang xiaoyifang merged commit 9332763 into staged Aug 21, 2024
9 of 11 checks passed
@xiaoyifang xiaoyifang deleted the fix/fulltext-metadata branch August 21, 2024 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants