I see that you're trying to restart the transaction by calling tx.success()
(every 1 items). You must do
tx.success();
tx.finish();
tx = graphDb.beginTx();
to restart the transaction. Try that instead.
What you interpret as stuck is GC trashing, 90% of CPU is spent garbage
collecting
You could perhaps use the LuceneFulltextQueryIndexService (which is a
LuceneFulltextIndexService, but which interprets the value argument in
getNodes() as lucene query
syntaxhttp://lucene.apache.org/java/2_9_1/queryparsersyntax.html).
Index your URI|time as a one concatenated value and query it
2 matches
Mail list logo