lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki>
Subject Re: Score per Term
Date Mon, 24 Feb 2003 17:16:17 GMT
Doug Cutting wrote:
> Check out the new Explanation API in the latest CVS sources.  It permits 
> one to get a detailed explanation of how a query was scored against a 
> document.  Note that these explanations are designed for user perusal, 
> not for further computation, and are as expensive to construct as 
> re-running the query, but it sounds like that fits your needs.

Wow, that was fast... :-) Yes, it seems this is the functionality I'm 
looking for. Do you think it would be possible/feasible to modify the 
searching classes so that they create Explanations at the same time I'm 
running the query? Should I expect a similar cost for that as creating 
Explanations separately?

BTW: I tried to contact you regarding some help in a commercial project. 
Is <> the right way to do it?


> Andrzej Bialecki wrote:
>> Hello,
>> Is there any simple way to get the information from the search results 
>> on which of the query terms contributed the most to the document's 
>> score? I'm working on an application which could use this sort of 
>> information to give a hint to the user why particular document scores 
>> the way it does against particular query...
>> Any suggestions?

Best regards,
Andrzej Bialecki

Software Architect, System Integration Specialist
FreeBSD developer (

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message