On Thu, Jun 23, 2011 at 9:08 PM, Mattias Persson
<[email protected]> wrote:
> That should be quite fine. I could try this out locally perhaps. Something
> like:
>
> Index<Node> index = db.index().forNodes("myIndex");
> Transaction tx = db.beginTx();
> Node node = db.createNode();
> for ( int i = 0; i < 250000; i++ )
^^^^^^^^^
I need to add a 0 at the end ... It should be 250.000.000
> {
> index.add(node,"key",i);
> if ( i%10000 == 0 )
> {
> tx.success();
> tx.finish();
> tx = db.beginTx();
> }
> }
>
> ?
Yep, I'm trying ... will post results here as soon a it finish or explode.
Cheers
--
Massimo
http://meridio.blogspot.com
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user