Return-Path: Delivered-To: apmail-lucene-nutch-dev-archive@www.apache.org Received: (qmail 53134 invoked from network); 15 Feb 2007 07:57:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 07:57:06 -0000 Received: (qmail 7378 invoked by uid 500); 15 Feb 2007 07:57:12 -0000 Delivered-To: apmail-lucene-nutch-dev-archive@lucene.apache.org Received: (qmail 7357 invoked by uid 500); 15 Feb 2007 07:57:12 -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 7346 invoked by uid 99); 15 Feb 2007 07:57:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 23:57:12 -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; Wed, 14 Feb 2007 23:57:02 -0800 Received: from anton.ipt ([192.168.0.177] helo=ANTON) by orbita1.ru with esmtpa (Exim 4.42) id 1HHbTp-0005Dw-Dz for nutch-dev@lucene.apache.org; Thu, 15 Feb 2007 10:56:37 +0300 From: "Anton Potekhin" To: Subject: RE: How to get score in search.jsp Date: Thu, 15 Feb 2007 10:55:31 +0300 Message-ID: <00a001c750d6$aa733990$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: <00b401c7500c$618d7a80$b100a8c0@ANTON> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcdPs0Pia3fEd8dmTV2p2q5C/xCl9AAFCHBAABEkDkAAMqOzAA== X-Virus-Checked: Checked by ClamAV on apache.org I have found solution. I've add variable score into Hit.... -----Original Message----- From: Anton Potekhin [mailto:anton@orbita1.ru] Sent: Wednesday, February 14, 2007 10:48 AM To: nutch-dev@lucene.apache.org Subject: How to get score in search.jsp Importance: High 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. Sorry for the duplicated mail. I think I had some problems with my mail account....