You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (JIRA)" <ji...@apache.org> on 2012/05/18 22:29:07 UTC

[jira] [Commented] (SOLR-3457) Spellchecker always incorrectly spelled

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

James Dyer commented on SOLR-3457:
----------------------------------

I can reproduce this problem running the solr example.  The fix looked straighforward but unfortunately it causes 2 of the "SpellCheckComponentTest" cases to fail.  The code, unfortunately, is a bit squirrely here.

I'm going to take a look at SOLR-2585 to see if applying that fixes this issue also.  SOLR-2585 included rewritten logic for the "correctlySpelled" flag.
                
> Spellchecker always incorrectly spelled
> ---------------------------------------
>
>                 Key: SOLR-3457
>                 URL: https://issues.apache.org/jira/browse/SOLR-3457
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 4.0
>         Environment: solr-spec 4.0.0.2012.05.15.11.42.06
> solr-impl 4.0-SNAPSHOT 1338601 - markus - 2012-05-15 11:42:06
> lucene-spec 4.0-SNAPSHOT
> lucene-impl 4.0-SNAPSHOT 1338601 - markus - 2012-05-15 10:51:02
>            Reporter: Markus Jelsma
>         Attachments: SOLR-3457-4.0-1.patch
>
>
> correctlySpelled is always false with default configuration, example config and example documents:
> http://localhost:8983/solr/collection1/browse?wt=xml&spellcheck.extendedResults=true&q=samsung
> {code}
> <lst name="spellcheck">
>   <lst name="suggestions">
>    <bool name="correctlySpelled">false</bool>
>   </lst>
> </lst>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org