Have you tried System.out.println(searcher.explain(blah blah).toString());?
Also, Luke will do a lot of this for you, google Lucene Luke.... HTH Erick On Wed, Mar 10, 2010 at 12:11 PM, Rohit Banga <iamrohitba...@gmail.com>wrote: > Could you help me understand how to use the explain method: > > http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/search/Searcher.html#explain%28org.apache.lucene.search.Query,%20int%29 > > I was wondering if I could use it to find out which terms in my query > matched against a particular document. > I am using fuzzy matching with the QueryParser. > > Thanks > > Rohit Banga >