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

Fuzzy search - plural form doesn't fetch any results #400

Open
rankovicMilos opened this issue Jan 30, 2025 · 1 comment
Open

Fuzzy search - plural form doesn't fetch any results #400

rankovicMilos opened this issue Jan 30, 2025 · 1 comment
Labels

Comments

@rankovicMilos
Copy link

Describe the bug
Searching the plural form of words yields no results for articles with the singular form of the word in the name. For example, "minorities" doesn't fetch results for articles with the word "minority".

Expected behavior
Searching for plurals "minorities" should deliver results with "minority" in the articles name respectively. Otherwise, a client might type a article name in plural, like "minorities", in hopes of finding articles , but finding only ones that contains explicit word "minorities" because blog's used the singular word "minority".

@Shazwazza
Copy link
Owner

Can add a test case to see what is going on but if fuzzyness is active, it is Lucene's engine that performs these matches under the hood.

Do you have other examples of this not working?

Tests are here: https://github.com/Shazwazza/Examine/blob/support/3.x/src/Examine.Test/Examine.Lucene/Search/FluentApiTests.cs
It is easy to fork this repo and write a test if you have time to help contribute on branch support/3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants