lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: precision and recall in lucene
Date Tue, 30 Nov 2010 12:39:11 GMT
On Mon, Nov 29, 2010 at 8:01 AM, Yakob <> wrote:
> hello all
> I was wondering, if I want to measure precision and recall in lucene
> then what's the best way for me to do it? is there any sample cource
> code that I can use?

Have a look at contrib/benchmark under the
org.apache.lucene.benchmark.quality package.
There is code (for example
org.apache.lucene.benchmark.quality.trec.QueryDriver) that can run an
experiment and output what you need for trec_eval.exe
I think there is some additional documentation on how to use this in
Lucene in Action 2.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message