lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1409) read past EOF
Date Wed, 01 Oct 2008 17:05:44 GMT


Michael McCandless commented on LUCENE-1409:

I would still like to get to the root cause here, in case it still exists in 2.4.

Adam, around how many added objects (using your test posted in the above forum) do you see
the error happen.  I've run several times so far and haven't gotten the error to happen.

Also, the test seems to slow down drastically over time.  At first it indexes at ~ 10 objects/
sec; after 4000 object this slows down to ~ 3 objects/sec.  Do you know why that is?  Lucene
by itself doesn't exhibit this slowdown (well, it does a little, as merges become necessary,
but it's much less of a slowdown).  It seems like compass is periodically waking up and optimizing
the index, fairly frequently.  That could explain this slowdown.

> read past EOF
> -------------
>                 Key: LUCENE-1409
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>         Environment: jdk 1.5.0_08
>            Reporter: Adam Łączyński
> I create index with a lot of documents (~500 000). During add documents to "read past
EOF" error occured. It occure after random number of indexed documents. I used lucene with
compass framework but I think that is not important. It is a link to compass forum where that
problem was reporeted
> read past EOF
> 	at
> 	at
> 	at
> 	at
> 	at org.apache.lucene.index.FieldInfos.<init>(
> 	at org.apache.lucene.index.SegmentReader.initialize(
> 	at org.apache.lucene.index.SegmentReader.get(
> 	at org.apache.lucene.index.SegmentReader.get(
> 	at org.apache.lucene.index.MultiSegmentReader.<init>(
> 	at org.apache.lucene.index.MultiSegmentReader.doReopen(
> 	at org.apache.lucene.index.DirectoryIndexReader$2.doBody(
> 	at org.apache.lucene.index.SegmentInfos$
> 	at org.apache.lucene.index.DirectoryIndexReader.reopen(
> 	at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.internalRefreshCache(
> 	at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.refreshCache(
> 	at org.compass.core.lucene.engine.transaction.readcommitted.ReadCommittedTransaction$
> 	at org.compass.core.transaction.context.TransactionalCallable$1.doInTransaction(
> 	at org.compass.core.impl.DefaultCompass$CompassTransactionContext.execute(
> 	at
> 	at org.compass.core.executor.DefaultExecutorManager.invokeAllWithLimit(
> 	at org.compass.core.executor.DefaultExecutorManager.invokeAllWithLimitBailOnException(
> 	at org.compass.core.lucene.engine.transaction.readcommitted.ReadCommittedTransaction.doCommit(
> 	at org.compass.core.lucene.engine.transaction.AbstractTransaction.commit(
> 	at org.compass.core.lucene.engine.LuceneSearchEngine.commit(
> 	at org.compass.core.transaction.LocalTransaction.doCommit(
> 	at org.compass.core.transaction.AbstractTransaction.commit(
> 	at org.compass.core.CompassTemplate.execute(
> 	at org.compass.core.CompassTemplate.execute(
> 	at asl.simplesearch.compass.CompassService.createCall(Unknown Source)
> 	at asl.util.IndexCreator.createIndex(Unknown Source)
> 	at asl.util.IndexCreator.start(Unknown Source)
> 	at asl.util.IndexCreatorTestCase.main(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message