0.7-dev, the search scoring

2005-07-28 Thread Fredrik Andersson
Hey guys! I just ported a lot of old 0.6 code to 0.7-dev/mapred. Lots of stuff has changed I see! One thing I can't quite grasp though, is why the Hit.getScore() has been removed in favour for the TopDocs-thingie instead? I wrote a quick add-on to support getting the score straight from the hit,

Re: 0.7-dev, the search scoring

2005-07-28 Thread Doug Cutting
Fredrik Andersson wrote: I just ported a lot of old 0.6 code to 0.7-dev/mapred. Lots of stuff has changed I see! One thing I can't quite grasp though, is why the Hit.getScore() has been removed in favour for the TopDocs-thingie instead? Hit.getScore() was generalized to Hit.getSortValue() in

Re: 0.7-dev, the search scoring

2005-07-28 Thread Fredrik Andersson
Ah God, I am stupid ... thanks for that, Doug! I must have a bad coding day today : ) Fredrik On 7/28/05, Doug Cutting [EMAIL PROTECTED] wrote: Fredrik Andersson wrote: I just ported a lot of old 0.6 code to 0.7-dev/mapred. Lots of stuff has changed I see! One thing I can't quite grasp