Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
7.3
-
None
Description
When using WordBreakSolrSpellChecker to break single words into multiple, the collation queries include parenthesis around the original term. In some cases, this causes required terms to become optional and users get spurious nonsensical collation results.
For instance, if I search: +eward +smith
...If +ward +smith is a match, it might give a collation like: (+e +ward) +smith
...This requires either the "e" or the "ward" to exist, but not both. But users are more likely to want both terms to be required, so it would be better if it was not adding parenthesis.
This might be the cause of SOLR-5995 and this SO issue