From general-return-1270-apmail-lucene-general-archive=lucene.apache.org@lucene.apache.org Thu Apr 16 00:11:20 2009 Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 21864 invoked from network); 16 Apr 2009 00:11:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2009 00:11:20 -0000 Received: (qmail 45621 invoked by uid 500); 16 Apr 2009 00:11:20 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 45557 invoked by uid 500); 16 Apr 2009 00:11:19 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 45547 invoked by uid 99); 16 Apr 2009 00:11:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2009 00:11:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markrmiller@gmail.com designates 209.85.221.121 as permitted sender) Received: from [209.85.221.121] (HELO mail-qy0-f121.google.com) (209.85.221.121) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2009 00:11:11 +0000 Received: by qyk27 with SMTP id 27so311384qyk.29 for ; Wed, 15 Apr 2009 17:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=l2m8h0+YyIOMGLtsP8XAiy2Ml88tyKjIePRTblxAkvU=; b=tZQoYqFVgUXmgmkkHPRCjgZaWNtu5lnzsEWW5KWCGEWUzcjrPLnn2PuGAerPU13JfK nelmHGRokPShx9RMu9aSd2A1iKe7cItAFUiGZh1v6GDgRbu74gULoon/LAf0J+wTah7I OEMPk7SoVOCaCv3h1hMp+HMXELGdMGXAUBJm4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=DdldrF3BRFdrFZu+YH4fQZfUeeAjSgv76mkeHHrAynC6Sbmwt4UWLXYrPgF1IyYMRb T8y/T7KJEeGJQT86Kc1AUr4s400htBifq6bxNftsoGaf+s6y+s9CEd2LurXGQwJ6dWnA 57dc/H/JQztt4KlAaKuYX+qW3r6V/rjQxYBTk= Received: by 10.224.89.4 with SMTP id c4mr1318721qam.368.1239840650513; Wed, 15 Apr 2009 17:10:50 -0700 (PDT) Received: from ?192.168.1.120? (ool-44c639d9.dyn.optonline.net [68.198.57.217]) by mx.google.com with ESMTPS id 7sm739190qwb.21.2009.04.15.17.10.48 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 17:10:49 -0700 (PDT) Message-ID: <49E67788.1000806@gmail.com> Date: Wed, 15 Apr 2009 20:10:48 -0400 From: Mark Miller User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: general@lucene.apache.org Subject: Re: indexReader References: <492D97B30609C54FA9FF98B847EA56825A713BB8EC@EXCLU2K7.hi.inet> In-Reply-To: <492D97B30609C54FA9FF98B847EA56825A713BB8EC@EXCLU2K7.hi.inet> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org IRENE SANCHEZ BODEGA wrote: > Hello! > I'm a spanish Telecommunications student.I'm using Lucene to index some documents and I've goy a question. > the fact is that I index a document (only one). When I use Luke to confirm the information, I see the information is ok. > But when I open an IndexReader, the answer of numDocs is 0...is that possible?? I dont understand...if I open the index throught Luke I can see the informatio, but IndexReader sais there is no document there. MAy u help me?? > > Thanks a lot! > > Irene > Hey Irene, I think you want the Lucene users list: java-user@lucene.apache.org It has a wider readership, and your much more likely to find help with Lucene there. Good Luck! -- - Mark http://www.lucidimagination.com