Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 7360 invoked from network); 14 Aug 2009 18:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Aug 2009 18:58:35 -0000 Received: (qmail 2510 invoked by uid 500); 14 Aug 2009 18:58:40 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 2399 invoked by uid 500); 14 Aug 2009 18:58:39 -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 2368 invoked by uid 99); 14 Aug 2009 18:58:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 18:58:37 +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; Fri, 14 Aug 2009 18:58:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DA8D0234C052 for ; Fri, 14 Aug 2009 11:58:14 -0700 (PDT) Message-ID: <463710848.1250276294894.JavaMail.jira@brutus> Date: Fri, 14 Aug 2009 11:58:14 -0700 (PDT) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1792) new QueryParser fails to set AUTO REWRITE for multi-term queries In-Reply-To: <213338228.1249726934889.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-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743364#action_12743364 ] Michael McCandless commented on LUCENE-1792: -------------------------------------------- {quote} Since we use UnescapedCharSequence in the FieldQueryNode values. We can identify the wildcards in the Processors and have one simple processor that converts FieldQueryNode to StandardWildcardQueryNode and to StandardPrefixWildcardQueryNode, and we can remove WildcardQueryNode and PrefixWildcardQueryNode from the core. {quote} +1 bq. we could change the parser to generate directly StandardBooleanQN and StandardWildcardQN, that makes more sense. +1 too... whenever standard subclasses a core node for some reason, it seems like the core syntax parser shouldn't produce the core node anymore. Luis or Adriano do you want to take a crack at this? Can you do this shortly (2.9 looks iminent)? Else we can simply revert my changes and then move this to 3.1... > new QueryParser fails to set AUTO REWRITE for multi-term queries > ---------------------------------------------------------------- > > Key: LUCENE-1792 > URL: https://issues.apache.org/jira/browse/LUCENE-1792 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/* > Affects Versions: 2.9 > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1792.patch, LUCENE-1792.patch > > > The old QueryParser defaults to constant score rewrite for Prefix,Fuzzy,Wildcard,TermRangeQuery, but the new one seems not to. -- 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