Improving synonyms and overall search experience
Is your Search & Navigation (Find) implementation affected by the limitations of the current synonym functionality and/or would you like to improve upon the overall search experience?
Check out https://github.com/episerver/EPiServer.Labs.Find.ImprovedSynonyms
Setup and configuration is simple. Install NuGet Package and then there is one or two lines of code to get it working.
ImprovedSynonyms solves limitations in the following scenarios:
- Missing or unexplainable hits when using .WithAndAsDefaultOperator()
- Multiple term synonyms
- Multiple term synonyms bidirectional
- Multiple term synonyms within quotes
- Multiple term synonyms requires all terms to match
- Does not rely on an synonym index to be up to date
- No unwanted built-in synonyms
ImprovedSynonyms also comes with support for Elastic Search's MinimumShouldMatch. With MinimumShouldMatch it's possible to set one or more conditions for how many terms (in percentage and absolutes) should match. If you specify 2<60% all terms up to 2 terms will be required to match. More than 2 terms 60% of the terms are required to match.
Feedback and input are welcome and don't hesitate to contribute if you'd like.
Please note that this project is not officially supported by Episerver just like most EPiServer.Labs projects.
Should be considered stable and is currently used in production environments.