Abhishek Kumar Singh created SOLR-10256:
-------------------------------------------
Summary: Parentheses in SpellCheckCollator
Key: SOLR-10256
URL: https://issues.apache.org/jira/browse/SOLR-10256
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: spellchecker
Reporter: Abhishek Kumar Singh
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.
And when surrounded by brackets, they represent the same position, which is not
required.
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/spelling/SpellCheckCollator.java#L227
A solution to this will be to have a flag, which can help disable this
parnthesisation of spell check suggestion.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]