Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 71633 invoked from network); 30 Nov 2010 16:01:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Nov 2010 16:01:41 -0000 Received: (qmail 64054 invoked by uid 500); 30 Nov 2010 16:01:38 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 63723 invoked by uid 500); 30 Nov 2010 16:01:38 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 63715 invoked by uid 99); 30 Nov 2010 16:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 16:01:37 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcmuir@gmail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 16:01:32 +0000 Received: by fxm2 with SMTP id 2so4670694fxm.35 for ; Tue, 30 Nov 2010 08:01:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=PVEpdc8AAME2rYe8X9UYMp8domKfXoJEg7/ssUyffAo=; b=YtwaPxd5/hLXS7IvjNgGSs/kM+uA9JolcucpOaSlXBa3+iuv7RtQTspRe9kwNobjyI x44XkVaXGBO0DBw7sekTmovMz9ELRrmHQoAjwrkweMuGfUkYeLZdQDbWW5E0wavqoEFB 4iUdIVTVcN0oQCvpPNSeyHm8vW4EwPcoCMdtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=fwF3tPHrUr4wZ3JuTZQLnyVsxLYV6Rx02KneS5gsu8LACwTyMI7rSgun3rDipvU1ZA 8lz1zCVMQKShchGKFJaFvgNFdf3nyEUS338omsYtcilg4xMvxGOs5FTnQyE4it3xTkhU GLcrTr8n/CKq/RbCCj8oCfT7WDYt99yteWPVk= Received: by 10.223.79.13 with SMTP id n13mr7078407fak.139.1291132870984; Tue, 30 Nov 2010 08:01:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.93.135 with HTTP; Tue, 30 Nov 2010 08:00:50 -0800 (PST) In-Reply-To: References: From: Robert Muir Date: Tue, 30 Nov 2010 11:00:50 -0500 Message-ID: Subject: Re: precision and recall in lucene To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 On Tue, Nov 30, 2010 at 10:46 AM, Yakob wrote: > can you tell me what went wrong? what is the difference between > topicsFile and qrelsFile anyway? > well its hard to tell what you are supplying as topics and qrels. have a look at /src/lia/benchmark in the LIA2 sample code: it has an example topic and 3 rows in qrels for it. basically, the topicsFile contains the "queries", and the qrelsFile contains judgements as to which documents are relevant. P.S.: once you have an index, a topics, and a qrels file, you can just use org.apache.lucene.benchmark.quality.trec.QueryDriver (it has a main method) --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org