Examine
Examine copied to clipboard
Fuzzy search - plural form doesn't fetch any results
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".
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