James Dyer created SOLR-12284: --------------------------------- Summary: WordBreakSolrSpellChecker incorrectly adds parenthesis when breaking words Key: SOLR-12284 URL: https://issues.apache.org/jira/browse/SOLR-12284 Project: Solr Issue Type: Bug Security Level: Public (Default Security Level. Issues are Public) Components: spellchecker Affects Versions: 7.3 Reporter: James Dyer Assignee: James Dyer
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|https://stackoverflow.com/questions/23849747/solr-wordbreak-spellchecker-breaking-words-into-letters-excessive-breaking] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org