Closed tamasflamich closed 10 years ago
I added initial fuzzy support that seems to work well in simple cases like:
provider .AsQueryable<Entity>() .Where(x => (x.Name == "search term").Fuzzy(0.6f)) .ToList(); provider .AsQueryable<Entity>() .Where(x => (x.Name == "search term").Fuzzy(0.6f) || (x.Name == "search term 2").Fuzzy(0.6f)) .ToList();
However it fails in more complex cases like:
provider .AsQueryable<Entity>() .Where(x => (x.Name == "search term" || x.Name == "search term 2").Fuzzy(0.6f)) .ToList();
I would be happy too see such feature in an official release.
Thanks!
My pleasure. Can we expect a nuget release in the near future?
Yes, pre-release package available at https://staging.nuget.org/packages/Lucene.Net.Linq/3.3.0-build63
Also adds support for #23.
I added initial fuzzy support that seems to work well in simple cases like:
However it fails in more complex cases like:
I would be happy too see such feature in an official release.