Hi Grant, > but you should have a look at Searcher.explain()
I was half-expecting this answer. :( The query is very basic and the scoring seems completely arbitrary. Documents with the same number of ocurrences and (seemingly) distribution are being given widely different scores. > Chris Hostetter > NOTE: the score returned by Hits is not a "percentage" ... > a score of 0.9 from 1 query isn't better then a score of 0.1 from another query. Thanks for re-emphasizing these points (I was aware of them in any event). Tom -----Original Message----- From: Grant Ingersoll [mailto:[EMAIL PROTECTED] Sent: 31 October 2007 19:17 To: java-user@lucene.apache.org Subject: Re: Hits.score mystery Not sure what UI you are referring to, but you should have a look at Searcher.explain() for giving you information about why a particular document scored the way it does -Grant On Oct 31, 2007, at 2:14 PM, Tom Conlon wrote: > Hi All, > > Query: systems AND 2000 > Results: 558 total matching documents > > I'm returning the document plus hits.score(i) * 100 but when the > relevance is examined in the User interface it doesn't seem to be > working. > > > E.g. 'rough' feedback in terms of occurences > > 61.txt 18.356403 100% (13 occurences) > 119.txt 17.865013 97% (13 occurences) > ... > 45.txt 8.600986 47% (18 occurences) > ... > 8.rtf 2.7724645 15% (10 occurences) > > Is there something else I need to do or am missing? > > Thanks, > Tom > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -------------------------- Grant Ingersoll http://lucene.grantingersoll.com Lucene Boot Camp Training: ApacheCon Atlanta, Nov. 12, 2007. Sign up now! http://www.apachecon.com Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]