Examine icon indicating copy to clipboard operation
Examine copied to clipboard

Fuzzy search - plural form doesn't fetch any results

Open rankovicMilos opened this issue 9 months ago • 1 comments
trafficstars

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".

rankovicMilos avatar Jan 30 '25 13:01 rankovicMilos

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

Shazwazza avatar Feb 04 '25 22:02 Shazwazza