lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8010) Allow WordBreakSolrSpellChecker to break when one word matches
Date Mon, 11 Apr 2016 16:24:25 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235406#comment-15235406
] 

ASF GitHub Bot commented on SOLR-8010:
--------------------------------------

GitHub user Admje14 opened a pull request:

    https://github.com/apache/lucene-solr/pull/28

    SOLR-8010 Adding the ability to optionally enable breaking words wher…

    …e one side is a word but the other is not.  Integrated with re-based trunk to re-submit
the pull request.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Admje14/lucene-solr-1 master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/28.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #28
    
----
commit 292a1ba07a4c42893acedc85c0755fe0e3167a76
Author: Josh Edwards <joshua.edwards@capitalone.com>
Date:   2016-04-11T16:19:28Z

    SOLR-8010 Adding the ability to optionally enable breaking words where one side is a word
but the other is not.  Integrated with re-based trunk to re-submit the pull request.

----


> 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-trunk.patch, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message