I have found solution. I've add variable score  into Hit....

-----Original Message-----
From: Anton Potekhin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 14, 2007 10:48 AM
To: [email protected]
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.... 





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to