In a recent search which included the word sobriety, a user used ~sobriety to broaden their search and the results were quite off-target, with the majority of the highlighted results in the preview being semantically unrelated terms such as continually, continual, continuous, and continent.
Since the search did specify "any word forms", I suspect that the builtin thesaurus included continence as a synonym for sobriety, and some sort of stemmer happily took off from there without any semantic guardrails.
Sometimes users want to widen their search a bit by using the tilde, but results like that are quite discouraging, and make my users run off to use Google.
Is there a solution for such problems?
Since the search did specify "any word forms", I suspect that the builtin thesaurus included continence as a synonym for sobriety, and some sort of stemmer happily took off from there without any semantic guardrails.
Sometimes users want to widen their search a bit by using the tilde, but results like that are quite discouraging, and make my users run off to use Google.
Is there a solution for such problems?