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

Add new config setting for minimum search length #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

outofcontrol
Copy link

This commit adds a new config file variable called ft_min_word_len. QueryParserMysqlFullTextBool.php is updated to use this variable instead of a hard coded value.

Reason: There are some instances when the minimum search length is not appropriate for a project. This change lets the developer set their own minimum search term length, to ensure it matches their MySQL/MariaDB variable for ft_min_word_len (MyISAM) or innodb_ft_min_token_size (InnoDB).

Test ran successfully.

@outofcontrol outofcontrol deleted the add-min-len-search-config branch July 26, 2023 17:56
@outofcontrol outofcontrol restored the add-min-len-search-config branch July 26, 2023 17:57
@outofcontrol outofcontrol reopened this Jul 26, 2023
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.

1 participant