Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 27819 invoked from network); 2 Feb 2009 23:16:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2009 23:16:37 -0000 Received: (qmail 24488 invoked by uid 500); 2 Feb 2009 23:16:34 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 24454 invoked by uid 500); 2 Feb 2009 23:16:34 -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 24445 invoked by uid 99); 2 Feb 2009 23:16:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 15:16:34 -0800 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; Mon, 02 Feb 2009 23:16:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DDCDF234C4AF for ; Mon, 2 Feb 2009 15:16:03 -0800 (PST) Message-ID: <519749468.1233616563907.JavaMail.jira@brutus> Date: Mon, 2 Feb 2009 15:16:03 -0800 (PST) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1534) idf(t) is not actually squared during scoring? In-Reply-To: <819410388.1233594479745.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669794#action_12669794 ] Michael McCandless commented on LUCENE-1534: -------------------------------------------- bq. But if we feel that over-emphasizes terms with large idfs, then we should not remove an idf factor from one vector, but rather rework our weight heuristic, perhaps replacing idf with sqrt(idf), no? I agree, that should be the approach if we decide idf^2 is too much, but I don't have an opinion (yet!) on whether it's too much (but that thread referenced above is nonetheless interesting). > idf(t) is not actually squared during scoring? > ---------------------------------------------- > > Key: LUCENE-1534 > URL: https://issues.apache.org/jira/browse/LUCENE-1534 > Project: Lucene - Java > Issue Type: Bug > Components: Query/Scoring > Affects Versions: 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4 > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 2.9 > > > The javadocs for Similarity: > http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Similarity.html > show idf(t) as being squared when computing net query score. But I > don't think it is actually squared, in looking at the sources? Maybe > it used to be, eg this interesting discussion: > http://markmail.org/message/k5pl7scmiac5wosb > Or am I missing something? We just need to fix the javadocs to take > away the "squared"... -- 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