lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Getting errors reading lucene indexes using recent lucene from Solr
Date Thu, 14 May 2009 18:16:28 GMT
On Thu, May 14, 2009 at 2:01 PM, jayson.minard <jayson.minard@gmail.com> wrote:
>
> 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
>        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>        at java.util.ArrayList.get(ArrayList.java:322)
>        at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:253)
>        at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:218)
>        at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:914)
>
>
> Anyone know what could cause this error?  Is it something writing the index
> incorrectly, or a read-side issue, or other?

Hmmm, OK... so you created the index with Lucene and are reading it with Solr.
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


Mime
View raw message