Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5AE99E3FE for ; Wed, 26 Dec 2012 05:00:49 +0000 (UTC) Received: (qmail 32418 invoked by uid 500); 26 Dec 2012 05:00:47 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 32268 invoked by uid 500); 26 Dec 2012 05:00:47 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 32253 invoked by uid 99); 26 Dec 2012 05:00:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Dec 2012 05:00:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vishwasg@gmail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-la0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Dec 2012 05:00:41 +0000 Received: by mail-la0-f54.google.com with SMTP id j13so10247019lah.13 for ; Tue, 25 Dec 2012 21:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=cYOznJryH90rRfQCzECDNzqamaOBiraqWw6OS6PlXCQ=; b=CMRBDTYXsKFUwos20bcI7ig8VufXP8OI6PfmiBU20r1XNzoZqLmsP+EiAwieJFgADo +xsMzHFHkgihe2UWEE6/9CTv2HGxrKKeALVSUhPoM/3B3KQAN1fhqEdOSlC7/QdmZTTg /lDiL1fdEt6/8ZwV4WKHSDdskDlvHsXK6IdSFiFdYUdJ/EH3st6WKEICfEmK6VpBlijG BmPvTN1lPclfI0mnOTHWOf4MiNtX4mXjuC7kt47GX9Sxv9dLJKClOCVjhgQCsWTaEaqR dLukiW4jbjaM7gsWU1kvXP5N9TG74tNq3g6ln67MzuKeIheE4w7eWCL0HmQ6Bvut3p6a KqNQ== Received: by 10.152.144.164 with SMTP id sn4mr24347086lab.57.1356498020324; Tue, 25 Dec 2012 21:00:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.85.164 with HTTP; Tue, 25 Dec 2012 21:00:00 -0800 (PST) In-Reply-To: References: From: Vishwas Goel Date: Wed, 26 Dec 2012 10:30:00 +0530 Message-ID: Subject: Re: Retrieving granular scores back from Lucene/SOLR To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=e89a8f22c4afa3d5f504d1ba4ecf X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f22c4afa3d5f504d1ba4ecf Content-Type: text/plain; charset=ISO-8859-1 I thought the reason explain was expensive was because of the string concats. I actually do not want to store this in strings - i just want the data without the string concats. I have so far not looked at IndexSearcher - will do. Other thought i had was to encode 1 such score in the final score(float value) itself. That way, i do not need to change the function interface. Thoughts? Thanks, Vishwas On Wed, Dec 26, 2012 at 10:14 AM, Jack Krupansky wrote: > The Explanation tree returned by IndexSearcher#explain is as good as you > are going to get, but is rather expensive. You are asking for a lot, so you > should be prepared to pay for it. > > See: > http://lucene.apache.org/core/**4_0_0/core/org/apache/lucene/** > search/IndexSearcher.html#**explain(org.apache.lucene.**search.Query, > int) > > -- Jack Krupansky > > -----Original Message----- From: Vishwas Goel > Sent: Tuesday, December 25, 2012 11:30 PM > To: java-user@lucene.apache.org > Subject: Retrieving granular scores back from Lucene/SOLR > > > Hi, > > I am looking to get a bit more information back from SOLR/Lucene about the > query/document pair scores. This would include field level scores, overall > text relevance score, Boost value, BF value etc. > > Information could either be encoded in the score itself that Lucene/Solr > returns - ideally however i would want to return an array of scores back > from SOLR/Lucene. I understand that i could work with the debug output - > but i am looking to do this for the production use case. > > Has anyone explored something like this? Does someone know, where is the > final score(not just the relevance score) computed? > > Thanks, > Vishwas > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.**apache.org > For additional commands, e-mail: java-user-help@lucene.apache.**org > > --e89a8f22c4afa3d5f504d1ba4ecf--