i am still facing the same exception when i try to delete a node with this code Transaction tx = graphDb.beginTx(); node.delete(); graphDb.index().forNodes(wordsIndexName).remove(node); tx.success(); tx.finish()
i get this exception at tx.finish SEVERE: Commit failed java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: [email protected] at org.neo4j.index.impl.lucene.LuceneDataSource.getIndexWriter(LuceneDataSource.java:601) at org.neo4j.index.impl.lucene.CommitContext.ensureWriterInstantiated(CommitContext.java:59) at org.neo4j.index.impl.lucene.LuceneCommand$RemoveCommand.perform(LuceneCommand.java:241) at org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:259) at org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:319) at org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.commit(XaResourceManager.java:456) at org.neo4j.kernel.impl.transaction.xaframework.XaResourceHelpImpl.commit(XaResourceHelpImpl.java:64) at org.neo4j.kernel.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:516) at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:659) at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:622) at org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:107) at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) at databaseManagers.Neo4jDatabaseManager.deleteDocument(Neo4jDatabaseManager.java:199) at databaseManagers.Neo4jDatabaseManager.main(Neo4jDatabaseManager.java:452) Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: [email protected] at org.apache.lucene.store.Lock.obtain(Lock.java:84) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1115) at org.neo4j.index.impl.lucene.LuceneDataSource.getIndexWriter(LuceneDataSource.java:588) ... 13 more Aug 8, 2011 8:05:08 AM org.neo4j.kernel.impl.transaction.TxManager commit i spent a lot of time trying to resolve this , can you please guide me ? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/cant-use-index-after-commit-tp3233038p3234639.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

