Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-695
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: adam laczynski
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

ArrayIndexOutOfBoundsException error throws during create big index - related to transaction

Created: 22/Aug/08 04:02 AM   Updated: 22/Aug/08 04:02 AM
Component/s: Compass::Core
Affects Version/s: 2.0.2
Fix Version/s: None

 Description  « Hide
I don't know what cause that error which not occur every time but when index is quite big. I create new index, and in loop add new object to index (not search, update, etc). Error occur after about 150 000 objects are added to index. Every time number of object is different but very big.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.lucene.index.TermInfosReader.seekEnum(
at org.apache.lucene.index.TermInfosReader.get(
at org.apache.lucene.index.MultiSegmentReader$MultiTermDocs.termDocs(
at org.apache.lucene.index.MultiSegmentReader$
at org.compass.core.lucene.engine.transaction.readcommitted.ReadCommittedTransaction.doDelete(
at org.compass.core.lucene.engine.transaction.AbstractTransaction.doUpdate(
at org.compass.core.lucene.engine.transaction.AbstractTransaction.update(
at org.compass.core.lucene.engine.LuceneSearchEngine.createOrUpdate(
at com.consol.cmx.consol.simplesearch.compass.CompassService$1.doInCompass(
at org.compass.core.CompassTemplate.execute(
at org.compass.core.CompassTemplate.execute(


<compass name="simple-search">
<file path="index"/>

<transaction lockTimeout="60" isolation="read_committed"/>

<analyzer name="default" type="CustomAnalyzer"
<analyzer name="search" type="Whitespace"/>

<class name=""/>

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.