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

Per-Model Fuzzy Search Configuration in Laravel Scout #294

Open
titonova opened this issue Jul 15, 2023 · 1 comment
Open

Per-Model Fuzzy Search Configuration in Laravel Scout #294

titonova opened this issue Jul 15, 2023 · 1 comment

Comments

@titonova
Copy link

Issue Title: Request for Per-Model Fuzzy Search Configuration in Laravel Scout

Description:

I would like to request a feature enhancement for Laravel Scout to support per-model fuzzy search configuration. Currently, fuzzy search settings in Laravel Scout are applied globally, making it challenging to customize the fuzzy search behavior on a per-model basis.

Proposal:

It would be beneficial to have the ability to configure fuzzy search settings individually for each model in Laravel Scout. This per-model configuration would allow developers to fine-tune the fuzzy search behavior to suit specific model requirements.

Possible Implementation:

One possible approach could be to extend the existing Laravel Scout configuration to include per-model fuzzy search settings. This would enable developers to define fuzzy search options for individual models within the config/scout.php file.

Alternatively, a dedicated method or trait could be introduced that allows developers to customize fuzzy search settings on a per-model basis within the model's class definition. Or a $fuzzy property for each model. The same way there is a $asYouType property.

@karandatwani92
Copy link

karandatwani92 commented Aug 8, 2023

Hey, @nticaric can we get this PLEASE! 🙏

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

No branches or pull requests

2 participants