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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to