Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 17886 invoked from network); 30 Aug 2010 20:15:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 20:15:38 -0000 Received: (qmail 88000 invoked by uid 500); 30 Aug 2010 20:15:36 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 87940 invoked by uid 500); 30 Aug 2010 20:15:36 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 87926 invoked by uid 99); 30 Aug 2010 20:15:35 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 20:15:35 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 20:15:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7UKEsdM011439 for ; Mon, 30 Aug 2010 20:14:54 GMT Message-ID: <4148948.74251283199293995.JavaMail.jira@thor> Date: Mon, 30 Aug 2010 16:14:53 -0400 (EDT) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2590) Enable access to the freq information in a Query's sub-scorers In-Reply-To: <18167828.223151281276555786.JavaMail.jira@thor> 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-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904313#action_12904313 ] Simon Willnauer commented on LUCENE-2590: ----------------------------------------- bq. Though, can't BS and BS2 just call super.visitSubScorers first, and then visit their subs? (Ie right now they dup super's code right?). Nah, good point mike :) I missed that, nice code reuse though! - will fix that soon. > Enable access to the freq information in a Query's sub-scorers > -------------------------------------------------------------- > > Key: LUCENE-2590 > URL: https://issues.apache.org/jira/browse/LUCENE-2590 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Reporter: Michael McCandless > Assignee: Simon Willnauer > Attachments: LUCENE-2590.patch, LUCENE-2590.patch, LUCENE-2590.patch, LUCENE-2590.patch, LUCENE-2590.patch > > > The ability to gather more details than just the score, of how a given > doc matches the current query, has come up a number of times on the > user's lists. (most recently in the thread "Query Match Count" by > Ryan McV on java-user). > EG if you have a simple TermQuery "foo", on each hit you'd like to > know how many times "foo" occurred in that doc; or a BooleanQuery +foo > +bar, being able to separately see the freq of foo and bar for the > current hit. > Lucene doesn't make this possible today, which is a shame because > Lucene in fact does compute exactly this information; it's just not > accessible from the Collector. -- 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org