Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 64725 invoked from network); 20 Oct 2006 15:07:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 15:07:42 -0000 Received: (qmail 15794 invoked by uid 500); 20 Oct 2006 15:07:36 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 15762 invoked by uid 500); 20 Oct 2006 15:07:35 -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 15746 invoked by uid 99); 20 Oct 2006 15:07:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 08:07:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 08:07:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5B35714316 for ; Fri, 20 Oct 2006 08:06:38 -0700 (PDT) Message-ID: <12746585.1161356798741.JavaMail.jira@brutus> Date: Fri, 20 Oct 2006 08:06:38 -0700 (PDT) From: "Steven Parkes (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-489) Allow QP subclasses to support Wildcard Queries with leading "*" In-Reply-To: <1813926022.1138020969654.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-489?page=3Dcomments#actio= n_12443858 ]=20 =20 Steven Parkes commented on LUCENE-489: -------------------------------------- I guess because I am uncomfortable manually modifying automatically generat= ed code. If there's a compelling reason for it, I'd consider it, but it has= to be pretty compelling because of the effort required to (remember to) ma= intain the local modifications. If someone runs javacc themselves, they'll = get a different result and have to look at the code to see why the results = are different. I don't see that the benefit of removing a few deprecated me= thods is worth the potential confusion (and time taken to resolve the confu= sion) (and time taken to remember to do the local mod every time). > Allow QP subclasses to support Wildcard Queries with leading "*" > ---------------------------------------------------------------- > > Key: LUCENE-489 > URL: http://issues.apache.org/jira/browse/LUCENE-489 > Project: Lucene - Java > Issue Type: Wish > Components: QueryParser > Reporter: Peter Sch=C3=A4fer > Assigned To: Steven Parkes > Fix For: 2.1 > > Attachments: LUCENE-489.patch, qp.diff > > > It would be usefull for some users if the logic that prevents QueryParser= from creating WIldcardQueries with leading wildcard characters ("?" or "*"= ) be moved from the grammer into the base implimentation of getWildcardQuer= y so that it may be overridden in subclasses without needing to modifiy the= grammer directly. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org