lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3457) Spellchecker always incorrectly spelled
Date Fri, 18 May 2012 11:58:06 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Jelsma updated SOLR-3457:
--------------------------------

    Attachment: SOLR-3457-4.0-1.patch

Patch for trunk. It seems the isCorrectlySpelled flag is not correctly initialized. In the
example samsun is incorrectly spelled, has freqInfo and zero suggestions so it's never set
to true.
                
> 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


Mime
View raw message