Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 93436 invoked from network); 8 Oct 2009 17:26:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Oct 2009 17:26:59 -0000 Received: (qmail 57339 invoked by uid 500); 8 Oct 2009 17:26:58 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 57272 invoked by uid 500); 8 Oct 2009 17:26:58 -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 57255 invoked by uid 99); 8 Oct 2009 17:26:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2009 17:26:58 +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; Thu, 08 Oct 2009 17:26:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C3B7234C498 for ; Thu, 8 Oct 2009 10:26:31 -0700 (PDT) Message-ID: <867212618.1255022791507.JavaMail.jira@brutus> Date: Thu, 8 Oct 2009 10:26:31 -0700 (PDT) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1951) wildcardquery rewrite improvements In-Reply-To: <2068872199.1254912211556.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-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763579#action_12763579 ] Michael McCandless commented on LUCENE-1951: -------------------------------------------- Patch looks good Robert! Thanks. I'll commit soon. > wildcardquery rewrite improvements > ---------------------------------- > > Key: LUCENE-1951 > URL: https://issues.apache.org/jira/browse/LUCENE-1951 > Project: Lucene - Java > Issue Type: Improvement > Components: Query/Scoring > Reporter: Robert Muir > Assignee: Michael McCandless > Priority: Minor > Attachments: LUCENE-1951.patch, LUCENE-1951.patch, LUCENE-1951_bwcompatbranch.patch > > > wildcardquery has logic to rewrite to termquery if there is no wildcard character, but > * it needs to pass along the boost if it does this > * if the user asked for a 'constant score' rewriteMethod, it should rewrite to a constant score query for consistency. > additionally, if the query is really a prefixquery, it would be nice to rewrite to prefix query. > both will enumerate the same number of terms, but prefixquery has a simpler comparison function. -- 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