Hi Enrico, Yes, I m using remote server, and Orient db version is 1.7.3. If you want to replicate it just see my attached file as a reference, when ever i start from scratch(created new database, all related fields and the Lucene index on "content" field), it will work fine for few time like 50-60 records get inserted but after some time it start throwing exception (IllegalOrgument i.e. mentioned in post), not able to find the root cause. i am also using Orient Lucene query parser to parse the "content" field.
On Thursday, June 26, 2014 2:49:22 PM UTC+5:30, Enrico Risa wrote: > > Hi > > Are you using remote server? > Which version of OrientDb? > > how can i replicate it? > > > > 2014-06-25 16:55 GMT+02:00 sachchidanand singh <[email protected] > <javascript:>>: > >> hi, >> my graph model of my project consist of three custom vertex classes: >> Person, Location and Content. Recently i migrated my code to 1.7.3 from >> 1.7.rc2, we are also using Lucene based index for Content class, ever since >> we added that we are getting this Exception : >> >> com.orientechnologies.orient.core.exception.OStorageException: Error >> during transaction commit. >> at >> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1096) >> at >> com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:132) >> at >> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:105) >> at >> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:142) >> at >> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:504) >> at >> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:496) >> at >> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1096) >> at >> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:344) >> at >> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:169) >> at >> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45) >> Caused by: java.lang.IllegalArgumentException: targetGen=122 was never >> returned by the ReferenceManager instance (current gen=35) >> at >> org.apache.lucene.search.ControlledRealTimeReopenThread.waitForGeneration(ControlledRealTimeReopenThread.java:160) >> at >> org.apache.lucene.search.ControlledRealTimeReopenThread.waitForGeneration(ControlledRealTimeReopenThread.java:135) >> at >> com.orientechnologies.lucene.manager.OLuceneIndexManagerAbstract.getSearcher(OLuceneIndexManagerAbstract.java:135) >> at >> com.orientechnologies.lucene.manager.OLuceneFullTextIndexManager.getResults(OLuceneFullTextIndexManager.java:131) >> at >> com.orientechnologies.lucene.manager.OLuceneFullTextIndexManager.get(OLuceneFullTextIndexManager.java:99) >> at >> com.orientechnologies.lucene.OLuceneIndexEngine.get(OLuceneIndexEngine.java:153) >> at >> com.orientechnologies.orient.core.index.OIndexMultiValues.putInSnapshot(OIndexMultiValues.java:137) >> at >> com.orientechnologies.orient.core.index.OIndexAbstract.applyIndexTxEntry(OIndexAbstract.java:954) >> at >> com.orientechnologies.orient.core.index.OIndexAbstract.addTxOperation(OIndexAbstract.java:679) >> at >> com.orientechnologies.orient.core.tx.OTransactionOptimistic$CommitIndexesCallback.run(OTransactionOptimistic.java:256) >> at >> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1082) >> ... 9 more >> >> did search for a few minutes in Google but could't find anything useful. >> >> have attached my dao file where in im adding the model object to graph >> vertices >> >> lucene index command : >> >> CREATE INDEX INDX_CONTENT_TEXT ON Content (content) FULLTEXT ENGINE >> LUCENE; >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
