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++ )
{
    index.add(node,"key",i);
    if ( i%10000 == 0 )
    {
        tx.success();
        tx.finish();
        tx = db.beginTx();
    }
}

?

2011/6/23 Massimo Lusetti <[email protected]>

> On Wed, Jun 22, 2011 at 1:21 PM, Mattias Persson
> <[email protected]> wrote:
>
> > Are you indexing this in a single transaction or what's the isolation for
> > inserts?
>
> I use long transaction, I commit the transaction every 10000
> operations circa ... could that be a problem?
>
> Cheers
> --
> Massimo
> http://meridio.blogspot.com
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [[email protected]]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to