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 8BCC9DD35 for ; Sun, 4 Nov 2012 15:18:14 +0000 (UTC) Received: (qmail 82097 invoked by uid 500); 4 Nov 2012 15:18:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82046 invoked by uid 500); 4 Nov 2012 15:18:13 -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 82022 invoked by uid 99); 4 Nov 2012 15:18:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Nov 2012 15:18:12 +0000 Date: Sun, 4 Nov 2012 15:18:12 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <1038652014.65916.1352042292441.JavaMail.jiratomcat@arcas> In-Reply-To: <1195325533.65899.1352038572237.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (LUCENE-4533) if you pass dups (same surface form) to AnalyzingSuggester it can fail to return enough results 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/LUCENE-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-4533: --------------------------------------- Attachment: LUCENE-4533.patch Patch w/ failing test ... it trips the assert in TopNSearcher that detects a too-small maxQueueDepth. > if you pass dups (same surface form) to AnalyzingSuggester it can fail to return enough results > ----------------------------------------------------------------------------------------------- > > Key: LUCENE-4533 > URL: https://issues.apache.org/jira/browse/LUCENE-4533 > Project: Lucene - Core > Issue Type: Bug > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 4.1, 5.0 > > Attachments: LUCENE-4533.patch > > > The problem is (again) the queue pruning we do. > I think we should de-dup the user's input (keeping highest weight for each surface form) before adding to the FST. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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