You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Doug Steigerwald <ds...@mcclatchyinteractive.com> on 2008/07/02 15:03:59 UTC
MergeException
What exactly does this error mean and how can we fix it? As far as I
can tell, all of our 30+ cores seem to be updating and autocommiting
fine. By fine I mean our autocommit hook is firing for all cores
which leads me to believe that the commit is happening, but segments
can't be merged. Are we going to have to rebuild whatever core this
happens to be (if I can figure it out)?
Exception in thread "Thread-704" org.apache.lucene.index.MergePolicy
$MergeException: java.lang.IndexOutOfBoundsException: Index: 43, Size:
43
at org.apache.lucene.index.ConcurrentMergeScheduler
$MergeThread.run(ConcurrentMergeScheduler.java:271)
Caused by: java.lang.IndexOutOfBoundsException: Index: 43, Size: 43
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:260)
at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:154)
at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:
659)
at
org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:
319)
at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:133)
at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:
3109)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2834)
Thanks.
Doug
Re: MergeException
Posted by Doug Steigerwald <ds...@mcclatchyinteractive.com>.
We're using Lucene 2.3.0. I'll try upgrading to 2.3.2 at some point.
All of our cores are updating fine, so not a huge rush.
Thanks.
Doug
On Jul 2, 2008, at 9:42 AM, Yonik Seeley wrote:
> Doug, it looks like it might be this Lucene bug:
> https://issues.apache.org/jira/browse/LUCENE-1262
>
> What version of Lucene is in the Solr you are running? You might want
> to try either one of the latest Solr nightly builds, or at least
> upgrading your Lucene version in Solr if it's not the latest patch
> release.
>
> -Yonik
>
> On Wed, Jul 2, 2008 at 9:03 AM, Doug Steigerwald
> <ds...@mcclatchyinteractive.com> wrote:
>> What exactly does this error mean and how can we fix it? As far as
>> I can
>> tell, all of our 30+ cores seem to be updating and autocommiting
>> fine. By
>> fine I mean our autocommit hook is firing for all cores which leads
>> me to
>> believe that the commit is happening, but segments can't be
>> merged. Are we
>> going to have to rebuild whatever core this happens to be (if I can
>> figure
>> it out)?
>>
>> Exception in thread "Thread-704"
>> org.apache.lucene.index.MergePolicy$MergeException:
>> java.lang.IndexOutOfBoundsException: Index: 43, Size: 43
>> at
>> org.apache.lucene.index.ConcurrentMergeScheduler
>> $MergeThread.run(ConcurrentMergeScheduler.java:271)
>> Caused by: java.lang.IndexOutOfBoundsException: Index: 43, Size: 43
>> at java.util.ArrayList.RangeCheck(Unknown Source)
>> at java.util.ArrayList.get(Unknown Source)
>> at
>> org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:260)
>> at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:
>> 154)
>> at
>> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:
>> 659)
>> at
>> org
>> .apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:
>> 319)
>> at
>> org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:133)
>> at
>> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:
>> 3109)
>> at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:
>> 2834)
>>
>> Thanks.
>> Doug
>>
Re: MergeException
Posted by Yonik Seeley <yo...@apache.org>.
Doug, it looks like it might be this Lucene bug:
https://issues.apache.org/jira/browse/LUCENE-1262
What version of Lucene is in the Solr you are running? You might want
to try either one of the latest Solr nightly builds, or at least
upgrading your Lucene version in Solr if it's not the latest patch
release.
-Yonik
On Wed, Jul 2, 2008 at 9:03 AM, Doug Steigerwald
<ds...@mcclatchyinteractive.com> wrote:
> What exactly does this error mean and how can we fix it? As far as I can
> tell, all of our 30+ cores seem to be updating and autocommiting fine. By
> fine I mean our autocommit hook is firing for all cores which leads me to
> believe that the commit is happening, but segments can't be merged. Are we
> going to have to rebuild whatever core this happens to be (if I can figure
> it out)?
>
> Exception in thread "Thread-704"
> org.apache.lucene.index.MergePolicy$MergeException:
> java.lang.IndexOutOfBoundsException: Index: 43, Size: 43
> at
> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:271)
> Caused by: java.lang.IndexOutOfBoundsException: Index: 43, Size: 43
> at java.util.ArrayList.RangeCheck(Unknown Source)
> at java.util.ArrayList.get(Unknown Source)
> at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:260)
> at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:154)
> at
> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:659)
> at
> org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:319)
> at
> org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:133)
> at
> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3109)
> at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2834)
>
> Thanks.
> Doug
>