----- Original Message ----
From: Mattias Persson <[email protected]>
To: Neo4j user discussions <[email protected]>
Sent: Tue, July 27, 2010 12:31:49 PM
Subject: Re: [Neo4j] Enabling LRU cache with BatchInserter
> Are you thinking of the method in LuceneIndexService?
Yes
> The batch inserter index doesn't have such a method. Do you have performance
>problems inserting
stuff, or why do you want such a method?
I'm creating outgoing relations between node pairs obtained from another data
source. The external data is clustered on the start node. I'm calling
index.getNodes(..) for both nodes and then creating a relation between them
which is currently pretty slow. I figured since the data is clustered on the
start node, it would speed up the relationship creation if I used an LRU cache.
2010/7/27 Mohit Vazirani <[email protected]>
> Hi,
>
> I'm trying to call enableCache(..) for the following example:
>
>
>http://wiki.neo4j.org/content/Batch_Insert#Using_batch_inserter_together_with_indexing
>g
>
>
> How would I go about doing that?
>
> ~Mohit
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user