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 fuzziness search defaulted to AUTO #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Cyapow
Copy link

@Cyapow Cyapow commented Sep 15, 2020

AUTO

Generates an edit distance based on the length of the term. Low and high distance arguments may be optionally provided AUTO:[low],[high]. If not specified, the default values are 3 and 6, equivalent to AUTO:3,6 that make for lengths:

0..2
Must match exactly
3..5
One edit allowed
>5
Two edits allowed
AUTO should generally be the preferred value for fuzziness.

Added the ability to publish the config from vendor folder to config folder

Mat Chapman added 2 commits September 15, 2020 10:20
php artisan vendor:publish --tag=laravel-search-config
@worzy
Copy link
Contributor

worzy commented Sep 16, 2020

Thanks for the PR. Can we make the config publishing optional as I believe without it, it may break previous installations.

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