Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 30139 invoked from network); 6 Nov 2009 21:56:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 21:56:57 -0000 Received: (qmail 57282 invoked by uid 500); 6 Nov 2009 21:56:56 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 57211 invoked by uid 500); 6 Nov 2009 21:56:56 -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 57203 invoked by uid 99); 6 Nov 2009 21:56:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 21:56:56 +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, 06 Nov 2009 21:56:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C4B67234C48C for ; Fri, 6 Nov 2009 13:56:32 -0800 (PST) Message-ID: <27725764.1257544592803.JavaMail.jira@brutus> Date: Fri, 6 Nov 2009 21:56:32 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-2040) PhraseQuery weight uses IDFExplanation.getIdf() method instead of Similarity.idf() directly In-Reply-To: <172291171.1257540932465.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-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-2040. ----------------------------------- Resolution: Won't Fix I looked into this: In 2.9.0 it was using the idf(Collection, Searcher) method, but this was deprecated (don't know why!). The correct way is now to override idfExplain to change scoring for phrase queries (even it does some unneeded work like filling a StringBuilder with explanations). > PhraseQuery weight uses IDFExplanation.getIdf() method instead of Similarity.idf() directly > ------------------------------------------------------------------------------------------- > > Key: LUCENE-2040 > URL: https://issues.apache.org/jira/browse/LUCENE-2040 > Project: Lucene - Java > Issue Type: Improvement > Components: Examples > Reporter: Andi Vajda > Assignee: Uwe Schindler > Priority: Minor > > It should use Similarity's idf() method instead. -- 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