lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: Term hitscores in multiterm searches
Date Thu, 23 Nov 2006 18:51:59 GMT
On Thursday 23 November 2006 13:57, Fredrik Andersson wrote:
> Hi gang!
> 
> If you do a multiterm query to Lucene, say "foo bar zoo", it gives you a
> heap of documents (Hits) as a result and all is well. If you want some
> tracking abilities to this query, for instance you want to know that
> document X was included in the Hits because "foo" and "bar" matched but
> "zoo" did not, how would you go about? In previous applications, I have done

Have a look at the result of Searcher.explain(query,doc) .

Regards,
Paul Elschot

P.S. On the java-user list there is normally more response.

Mime
View raw message