Return-Path: Delivered-To: apmail-lucene-nutch-dev-archive@www.apache.org Received: (qmail 65865 invoked from network); 14 Feb 2007 07:02:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 07:02:19 -0000 Received: (qmail 71887 invoked by uid 500); 14 Feb 2007 07:02:26 -0000 Delivered-To: apmail-lucene-nutch-dev-archive@lucene.apache.org Received: (qmail 71614 invoked by uid 500); 14 Feb 2007 07:02:25 -0000 Mailing-List: contact nutch-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: nutch-dev@lucene.apache.org Delivered-To: mailing list nutch-dev@lucene.apache.org Received: (qmail 71602 invoked by uid 99); 14 Feb 2007 07:02:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 23:02:24 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [213.59.116.65] (HELO orbita1.ru) (213.59.116.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 23:02:14 -0800 Received: from anton.ipt ([192.168.0.177] helo=ANTON) by orbita1.ru with esmtpa (Exim 4.42) id 1HHE9G-0005Pt-8t for nutch-dev@lucene.apache.org; Wed, 14 Feb 2007 10:01:50 +0300 From: "????? ???????" To: Subject: How to get score in search.jsp Date: Wed, 14 Feb 2007 10:00:44 +0300 Message-ID: <009901c75005$d8a2e080$b100a8c0@ANTON> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <000001c74fc9$0ba10030$22e30090$@nene@idna-solutions.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcdPs0Pia3fEd8dmTV2p2q5C/xCl9AAFCHBAAA+ItCA= X-Virus-Checked: Checked by ClamAV on apache.org Hi Nutch Gurus! I have a small problem. I need to add some changes into search.jsp. I need to get first 50 results and to sort them in different way. I will change the score of each result with formula "new_score = nutch_score + domain_score_from_my_db" to sort. But i don't understand how to get nutch_score in search.jsp Now I use a makeshift. I get the nutch_score using getValue() method of org.apache.lucene.search.Explanation class. But i think it is a very slow way. Can anybody help me to find a solution for this problem? P.S. I hope that I described my problem clearly. Thanks in advance.