[
https://issues.apache.org/jira/browse/SOLR-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730942#comment-14730942
]
Joshua Edwards commented on SOLR-8010:
--------------------------------------
Attached a patch file, as well as creating a pull request to the lucene_4_10
branch. The changes should be able to be easily integrated into trunk as well
(though I have not done that since we are currently using 4_10_X).
> Allow WordBreakSolrSpellChecker to break when one word matches
> --------------------------------------------------------------
>
> Key: SOLR-8010
> URL: https://issues.apache.org/jira/browse/SOLR-8010
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 4.10.4, 5.3
> Reporter: Joshua Edwards
> Attachments: WordBreakDontRequireWordOnBothSides.patch
>
>
> The WordBreakSolrSpellChecker only works if both words that are being broken
> are in the dictionary. This prevents the spell checker from breaking in
> other valid use cases - such as when one of the words has a synonym that is
> in the dictionary, or when one of the words is misspelled. I would like to
> enable (via configuration) the option to break when one of the two words is
> in the dictionary, but the other is not.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]