Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 688E010AC5 for ; Mon, 23 Feb 2015 16:57:12 +0000 (UTC) Received: (qmail 72079 invoked by uid 500); 23 Feb 2015 16:57:11 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 72012 invoked by uid 500); 23 Feb 2015 16:57:11 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 72001 invoked by uid 99); 23 Feb 2015 16:57:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 16:57:11 +0000 Date: Mon, 23 Feb 2015 16:57:11 +0000 (UTC) From: "Charles Reitzel (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SOLR-7144) Suggester dictionary does not set origFreq MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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