You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Charles Reitzel (JIRA)" <ji...@apache.org> on 2015/02/23 17:57:11 UTC

[jira] [Comment Edited] (SOLR-7144) Suggester dictionary does not set origFreq

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

Charles Reitzel edited comment on SOLR-7144 at 2/23/15 4:56 PM:
----------------------------------------------------------------

Here is a patch correcting issues described.  It includes a couple unit tests as well.


was (Author: charlesreitzel):
Here is a patch correcting issues described.

> Suggester dictionary does not set origFreq
> ------------------------------------------
>
>                 Key: SOLR-7144
>                 URL: https://issues.apache.org/jira/browse/SOLR-7144
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 4.10.3
>         Environment: Linux, Windows
>            Reporter: Charles Reitzel
>            Priority: Minor
>         Attachments: SOLR-7144.patch
>
>
> Although it sets term frequency for corrections, org.apache.solr.spelling.suggest.Suggester never sets the frequency for the original term.   Thus, the spellcheck component will never format extended results.
> There is a related issue with SpellCheckComponent: it may mark a query as correctly spelled, even if zero frequency terms exist in the original query.



--
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