Re: [Neo] sail and time index

2010-04-14 Thread Mattias Persson
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

Re: [Neo] sail and time index

2010-04-09 Thread Mattias Persson
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