Problem with scoring:is it absolute or relative ?

2007-05-02 Thread Paul Taylor
Hi I am having problems understanding lucenes scoring. I am using the Musicbrainz which uses Lucene to provide searching facility over its data, which put simply consists of a database about recording artists , albums and song titles I can construct a query such as: track:Minus AND

Re: Problem with scoring:is it absolute or relative ?

2007-05-02 Thread Otis Gospodnetic
Paul, That is because the Hits class is likely being used under the covers. When you use the IndexSearcher's search(...) method that returns Hits, hit scores are normalized, so they are always between 0 and 1. If you want the raw scores, and it sounds like you do, you could use a lower-level

Re: Problem with scoring:is it absolute or relative ?

2007-05-02 Thread Paul Taylor
Hi Otis thanks, so the scores are relative to the result set. Unfortunately I only have access to an xmlwebservice that let me send a lucene query so I don't have access to the various IndexSearcher methods. So it sounds like rather than just taking the top result and using that Ill have to