lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: how to use explain function!
Date Mon, 21 Aug 2006 08:05:16 GMT

On Aug 20, 2006, at 11:31 PM, zhongyi yuan wrote:

> Hi,all.Please give me  some example to use explain function.I want to
> know detail information about compute weight and Score.

<http://lucene.apache.org/java/docs/api/org/apache/lucene/search/ 
Searcher.html#explain(org.apache.lucene.search.Query,%20int)>

Call searcher.explain(query, docId) and you'll get an Explanation  
<http://lucene.apache.org/java/docs/api/org/apache/lucene/search/ 
Explanation.html> back.  To see it, output its toString().

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message