Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 38657 invoked from network); 21 Oct 2009 21:23:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 21:23:24 -0000 Received: (qmail 36815 invoked by uid 500); 21 Oct 2009 21:23:23 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 36704 invoked by uid 500); 21 Oct 2009 21:23:23 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 36470 invoked by uid 99); 21 Oct 2009 21:23:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 21:23:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 21:23:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 67FE4234C1EF for ; Wed, 21 Oct 2009 14:22:59 -0700 (PDT) Message-ID: <1920488889.1256160179424.JavaMail.jira@brutus> Date: Wed, 21 Oct 2009 21:22:59 +0000 (UTC) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2002) Add oal.util.Version ctor to QueryParser In-Reply-To: <569226517.1256128379364.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768467#action_12768467 ] Michael McCandless commented on LUCENE-2002: -------------------------------------------- Eek! My fingers are doing the thinking, apparently :) Been typing that word a bit too much!! I'll fix. Thanks. > Add oal.util.Version ctor to QueryParser > ---------------------------------------- > > Key: LUCENE-2002 > URL: https://issues.apache.org/jira/browse/LUCENE-2002 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.9, 3.0 > Reporter: Uwe Schindler > Assignee: Michael McCandless > Fix For: 2.9.1 > > Attachments: LUCENE-2002-29.patch > > > This is a followup of LUCENE-1987: > If somebody uses StandardAnalyzer with Version.LUCENE_CURRENT and then uses QueryParser, phrase queries will not work, because the StopFilter enables position Increments for stop words, but QueryParser ignores them per default. The user has to explicitely enable them. > This issue would add a ctor taking the Version constant and automatically enable this setting. The same applies to the contrib queryparser. Eventually also StopAnalyzer should add this version ctor. > To be able to remove the default ctor for 3.0 (to remove a possible trap for users of QueryParser), it must be deprecated and the new one also added to 2.9.1. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org