-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: spellchecker
-
Labels:None
SpellCheckCollator adds parentheses ( '(' and ')' ) around tokens which have space between them.
This should be configurable, because if WordBreakSpellCheckComponent is being used, queries like : applejuice will be broken down to apple juice. Such suggestions are being surrounded by braces by current SpellCheckCollator.
And when surrounded by brackets, they represent the same position by EdismaxParser , which is not required.
A solution to this will be to have a flag, which can help disable this parenthesisation of spell check suggestions.
----------------------------
Update:
Raised PR for the same -> https://github.com/apache/lucene-solr/pull/168