lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Reitzel (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-7144) Suggester dictionary does not set origFreq
Date Mon, 23 Feb 2015 16:57:11 GMT

    [ 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


Mime
View raw message