You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/06/26 21:22:29 UTC
[jira] Created: (LUCENE-616) CLONE -Merge error during add to index
(IndexOutOfBoundsException)
CLONE -Merge error during add to index (IndexOutOfBoundsException)
------------------------------------------------------------------
Key: LUCENE-616
URL: http://issues.apache.org/jira/browse/LUCENE-616
Project: Lucene - Java
Type: Bug
Components: Index
Environment: Operating System: Linux
Platform: Other
Reporter: Daniel Quaroni
Assigned to: Yonik Seeley
I've been batch-building indexes, and I've build a couple hundred indexes with
a total of around 150 million records. This only happened once, so it's
probably impossible to reproduce, but anyway... I was building an index with
around 9.6 million records, and towards the end I got this:
java.lang.IndexOutOfBoundsException: Index: 54, Size: 24
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:155)
at org.apache.lucene.index.FieldInfos.fieldName(FieldInfos.java:151)
at org.apache.lucene.index.SegmentTermEnum.readTerm(SegmentTermEnum.java
:149)
at org.apache.lucene.index.SegmentTermEnum.next
(SegmentTermEnum.java:115)
at org.apache.lucene.index.SegmentMergeInfo.next
(SegmentMergeInfo.java:52)
at org.apache.lucene.index.SegmentMerger.mergeTermInfos
(SegmentMerger.java:294)
at org.apache.lucene.index.SegmentMerger.mergeTerms
(SegmentMerger.java:254)
at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:93)
at org.apache.lucene.index.IndexWriter.mergeSegments
(IndexWriter.java:487)
at org.apache.lucene.index.IndexWriter.maybeMergeSegments
(IndexWriter.java:458)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:310)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:294)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Closed: (LUCENE-616) CLONE -Merge error during add to index
(IndexOutOfBoundsException)
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-616?page=all ]
Yonik Seeley closed LUCENE-616.
-------------------------------
Fix Version/s: 1.9
Resolution: Fixed
closing... the patch to truncate existing segment that's being reused isn't needed for >=1.9
> CLONE -Merge error during add to index (IndexOutOfBoundsException)
> ------------------------------------------------------------------
>
> Key: LUCENE-616
> URL: http://issues.apache.org/jira/browse/LUCENE-616
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Environment: Operating System: Linux
> Platform: Other
> Reporter: Daniel Quaroni
> Assigned To: Yonik Seeley
> Fix For: 1.9
>
>
> I've been batch-building indexes, and I've build a couple hundred indexes with
> a total of around 150 million records. This only happened once, so it's
> probably impossible to reproduce, but anyway... I was building an index with
> around 9.6 million records, and towards the end I got this:
> java.lang.IndexOutOfBoundsException: Index: 54, Size: 24
> 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:155)
> at org.apache.lucene.index.FieldInfos.fieldName(FieldInfos.java:151)
> at org.apache.lucene.index.SegmentTermEnum.readTerm(SegmentTermEnum.java
> :149)
> at org.apache.lucene.index.SegmentTermEnum.next
> (SegmentTermEnum.java:115)
> at org.apache.lucene.index.SegmentMergeInfo.next
> (SegmentMergeInfo.java:52)
> at org.apache.lucene.index.SegmentMerger.mergeTermInfos
> (SegmentMerger.java:294)
> at org.apache.lucene.index.SegmentMerger.mergeTerms
> (SegmentMerger.java:254)
> at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:93)
> at org.apache.lucene.index.IndexWriter.mergeSegments
> (IndexWriter.java:487)
> at org.apache.lucene.index.IndexWriter.maybeMergeSegments
> (IndexWriter.java:458)
> at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:310)
> at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:294)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org