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 013E5D7FA for ; Mon, 22 Oct 2012 19:52:16 +0000 (UTC) Received: (qmail 19876 invoked by uid 500); 22 Oct 2012 19:52:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 19769 invoked by uid 500); 22 Oct 2012 19:52: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 19715 invoked by uid 99); 22 Oct 2012 19:52:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 19:52:13 +0000 Date: Mon, 22 Oct 2012 19:52:13 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <282535440.11956.1350935533772.JavaMail.jiratomcat@arcas> In-Reply-To: <139518668.11920.1350935292089.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4500) Loosen up DirectSpellChecker's minPrefix requirements 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-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481728#comment-13481728 ] Robert Muir commented on LUCENE-4500: ------------------------------------- yeah i think we should add an option to disable this heuristic. It was basically a perf/relevance thing (in general edits of 2, esp considering a transposition is a single edit, along wotj minPrefix of 0 can yield surprisingly irrelevant stuff). But if someone wants that... let them do it. > Loosen up DirectSpellChecker's minPrefix requirements > ----------------------------------------------------- > > Key: LUCENE-4500 > URL: https://issues.apache.org/jira/browse/LUCENE-4500 > Project: Lucene - Core > Issue Type: Improvement > Affects Versions: 4.0 > Reporter: Erik Hatcher > Priority: Minor > > DirectSpellChecker currently mandates a minPrefix of 1 when editDistance=2. This prohibits a query of "nusglasses" from matching the indexed "sunglasses" term. > Granted, there can be performance issues with using a minPrefix of 0, but it's a risk that a user should be allowed to take if needed. -- 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