Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 78090 invoked from network); 14 May 2009 18:17:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 18:17:04 -0000 Received: (qmail 77167 invoked by uid 500); 14 May 2009 18:17:02 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 77099 invoked by uid 500); 14 May 2009 18:17:02 -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 77089 invoked by uid 99); 14 May 2009 18:17:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 18:17:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yseeley@gmail.com designates 74.125.92.26 as permitted sender) Received: from [74.125.92.26] (HELO qw-out-2122.google.com) (74.125.92.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 18:16:53 +0000 Received: by qw-out-2122.google.com with SMTP id 5so1256499qwd.53 for ; Thu, 14 May 2009 11:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=FMG1Ti3E3VXrbE0OHR3J2oWVwaESJm/GiZzw4J7ECVI=; b=XITdn14PrT1XNUhiJd1GO72Hokr8VaMTUAou4g/ssVGKbABto0lnSLacOhftbn2ki+ tU/YfzC1Flmi4yfDzyZoJCEY2Bz8kVjd99gV8adPuVTQrQ+tdMsiYgHv+LcdofX0t8eT CsvMm7WrRPS923xKPD9PZPWrDyCfZaHPv1LP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=GoOeKGPij1Sc9+UkSnLaKCMySftGYBeZTRsFdD1senGIrN8fB1EcYu42E46lZkxh1y jOD4J8hcNJxGsV3ci1MDn4Ye3akTZROm1mhDi+NNuZOQQ9qgKfqczJMVz/OaJ/dsjmnS F1gd2iBpAc5NKFUc+/USv/XdRgeMSwwuW0wyM= MIME-Version: 1.0 Sender: yseeley@gmail.com Reply-To: yonik@lucidimagination.com Received: by 10.229.85.132 with SMTP id o4mr1810879qcl.0.1242324988603; Thu, 14 May 2009 11:16:28 -0700 (PDT) In-Reply-To: <23545868.post@talk.nabble.com> References: <23545868.post@talk.nabble.com> Date: Thu, 14 May 2009 14:16:28 -0400 X-Google-Sender-Auth: c5681c0de5502e68 Message-ID: Subject: Re: Getting errors reading lucene indexes using recent lucene from Solr From: Yonik Seeley To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, May 14, 2009 at 2:01 PM, jayson.minard wr= ote: > > When using the Solr trunk tip, get this error now when reading an index > created by Solr with Lucene directly: > > java.lang.IndexOutOfBoundsException: Index: 24, Size: 0 > =A0 =A0 =A0 =A0at java.util.ArrayList.RangeCheck(ArrayList.java:547) > =A0 =A0 =A0 =A0at java.util.ArrayList.get(ArrayList.java:322) > =A0 =A0 =A0 =A0at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos= .java:253) > =A0 =A0 =A0 =A0at org.apache.lucene.index.FieldsReader.doc(FieldsReader.j= ava:218) > =A0 =A0 =A0 =A0at org.apache.lucene.index.SegmentReader.document(SegmentR= eader.java:914) > > > Anyone know what could cause this error? =A0Is it something writing the i= ndex > incorrectly, or a read-side issue, or other? Hmmm, OK... so you created the index with Lucene and are reading it with So= lr. What version of Lucene did you use to create? Your stack trace also doesn't line up with the last version of Lucene that Mark put in (r773862) -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org