Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 6806 invoked from network); 18 Aug 2009 05:29:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 05:29:18 -0000 Received: (qmail 10959 invoked by uid 500); 18 Aug 2009 05:29:37 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 10860 invoked by uid 500); 18 Aug 2009 05:29:36 -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 10852 invoked by uid 99); 18 Aug 2009 05:29:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 05:29:36 +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; Tue, 18 Aug 2009 05:29:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC0B1234C044 for ; Mon, 17 Aug 2009 22:29:14 -0700 (PDT) Message-ID: <147606558.1250573354887.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 22:29:14 -0700 (PDT) From: "Luis Alves (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Luis Alves updated LUCENE-1792: ------------------------------- Attachment: LUCENE-1792_update_v1.patch This one is done :). This patch is against the trunk the latest trunk. >From my last patch here are the major changes - Changed MultiTermRewriteMethodProcessor, WildcardQueryNodeBuilder, RangeQueryNodeBuilder, PrefixWildcardQueryNodeBuilder, to use the MultiTermRewriteMethodAttribute. - Clean up the RangeQueryNode, PrefixWildcardQueryNode, WildcardQueryNode and ParametricRangeQueryNodeProcessor from use of setRewrteMethod. - Changed MultiTermRewriteMethodProcessor to use a setTAG to pass the MultiTermQuery.RewriteMethod default value to the Builders > 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 Busch > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1792.patch, LUCENE-1792.patch, LUCENE-1792_update_v1.patch, removal_of_wildcard_and_prefix_detection_from_the_syntaxparser.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