neo4j-import can currently only add new nodes/relationships and add 
properties to those new nodes/relationships. It cannot currently update 
existing entities.

On Monday, April 25, 2016 at 1:20:23 PM UTC+2, kincheong lau wrote:
>
> I have a single csv file with just 3 columns and no header
> 1. Category
> 2. Reader
> 3. Time stamp
>
> I would like to use neo4j-import from shell to set the relationship only 
> for matching reader and category, is that possible with neo4j-import?
>
> If using cypher, the query would be :
>
> match (r:reader)-(t.subscribed)->(c.category)
> where r.reader = csv.reader and c.category = csv.category
> set r.timestamp = csv.timestamp
>
> But the csv is over 1gb and all neo4j-import examples are to import 
> everything
>
>

-- 
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