Batch inserter is insert only you have to deduplicate upfront

With merge you can use

Merge (a)-[:REL]-(b)
On create set r.weight = 123


To ignore direction

Sent from mobile device

Am 14.08.2014 um 18:54 schrieb gg4u <luigi.as...@gmail.com>:

> Hi, 
> 
> a quick note on the batch importer:
> 
> does  it import the relationships with an equivalent create ()-[]->() or 
> merge ()-[]-() ?
> 
> In order to reduce the size of the graph, I would like to avoid to have 
> duplicate relationships, in the sense that if a rel
> a-[]-b exist, that is equivalent to b-[]-a
> and ignore the latter.
> 
> In case of a weighted graph, does merge ignore b-[r]-a if a-[r]-b exist but r
> has different weight?
> 
> thank you !
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to