Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 88098 invoked from network); 15 Mar 2010 08:16:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Mar 2010 08:16:34 -0000 Received: (qmail 7153 invoked by uid 500); 15 Mar 2010 08:15:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 6921 invoked by uid 500); 15 Mar 2010 08:15:46 -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 6913 invoked by uid 99); 15 Mar 2010 08:15:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 08:15:45 +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 phavelar@gmail.com designates 209.85.222.178 as permitted sender) Received: from [209.85.222.178] (HELO mail-pz0-f178.google.com) (209.85.222.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 08:15:39 +0000 Received: by pzk8 with SMTP id 8so2466003pzk.29 for ; Mon, 15 Mar 2010 01:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/mlV5BPBMihXt58LsEwzNkgg7XRYrCaw59zPXFcO1Qw=; b=G9LxP68ekXUYEAMp1BTTizEAeiXIBi/MgIz3+6Yiq4jJG+Mhg6DAX3UxEheNGQIwfR /eKitewZhfD7QQrugD2jDEU4X+raPXpSVd+c9XKKbhu9hH8S742nUaS1b4xx+xTuamZT zkhGkta+lvgfgHVrut+nofA29uC8fGftb03w0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IRjzXxERRh69ikra7MBkAq/qA+AtSQqAt9UnBLhLI1mGZHNJl7373oZEYjP35/LtZP VshrlhoijO0Ae1YBVG3SHREB0ZCd5EaQb+ixShCDBZfyL0w8APDZI3KBQ3upzQhAJcSz USNEZzZUnWjrX822qhhVilmctcsJY8KFR1SCk= MIME-Version: 1.0 Received: by 10.142.207.19 with SMTP id e19mr5208196wfg.2.1268640918854; Mon, 15 Mar 2010 01:15:18 -0700 (PDT) Date: Mon, 15 Mar 2010 01:15:18 -0700 Message-ID: <556264761003150115i7e48a788kfede751e93813352@mail.gmail.com> Subject: issue querying index. From: Paulo Avelar To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hello, I'm using the latest Lucene 3.0.1. I have written a simple test, which does the usual, creates an index, then add 2 tests documents to it. I'm having a strange problem, first time I run my test, which runs a query I get nothing. but the second time I run my test (exactly the same code) , the query wild results. Any idea what could be causing this? I'm going crazy trying to figure this out. I noticed the index segments_ file is incremented the second time I run the test to 3. (segments_3) Any help is very much appreciated. Thank you, Paul --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org