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

James Dyer updated SOLR-2555:
-----------------------------
    Attachment: SOLR-2555.patch

The attached patch contains what would be a failing unit test.  However, this 
test passes.  It searches for "thus", which is in the index.  The 
"onlyMorePopular" flag causes it to correct it to "this", which has tf=2 vs 
tf=1 for "thus".  The correctlySpelled flag return "true", as expected.

This issue likely was fixed with SOLR-2585.

> Always incorrectly spelled with onlyMorePopular enabled
> -------------------------------------------------------
>
>                 Key: SOLR-2555
>                 URL: https://issues.apache.org/jira/browse/SOLR-2555
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 3.1
>            Reporter: Markus Jelsma
>         Attachments: SOLR-2555.patch
>
>
> The spellcheck component will always mark the term(s) as incorrectly spelled 
> when onlyMorePopular=true, regardless of the term being actually spelled 
> correctly.
> The onlyMorePopular setting can produce collations while the term(s) are 
> correctly spelled. This is fine behaviour. The problem is that is also marks 
> the term(s) as incorrectly spelled when they're actually in the spellcheck 
> index.
> See also this thread:
> http://lucene.472066.n3.nabble.com/correctlySpelled-and-onlyMorePopular-in-3-1-td2975773.html#a2984201



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to