lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: examples of using explain method
Date Wed, 10 Mar 2010 18:26:29 GMT
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 <iamrohitbanga@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message