Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 23386 invoked from network); 23 Oct 2009 12:35:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Oct 2009 12:35:24 -0000 Received: (qmail 36846 invoked by uid 500); 23 Oct 2009 12:35:23 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 36783 invoked by uid 500); 23 Oct 2009 12:35: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 36773 invoked by uid 99); 23 Oct 2009 12:35:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 12:35:23 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Fri, 23 Oct 2009 12:35:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6AA3A234C045 for ; Fri, 23 Oct 2009 05:35:00 -0700 (PDT) Message-ID: <1215812184.1256301300431.JavaMail.jira@brutus> Date: Fri, 23 Oct 2009 12:35:00 +0000 (UTC) From: "Grant Ingersoll (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 [ https://issues.apache.org/jira/browse/LUCENE-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769203#action_12769203 ] Grant Ingersoll commented on LUCENE-2002: ----------------------------------------- Yes, they are near the $Id tags. That's kind of an odd error, though. At any rate, I'm running the tests now. > 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, 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