neo4j-import

39 views
Skip to first unread message

kincheong lau

unread,
Apr 25, 2016, 7:20:23 AM4/25/16
to Neo4j
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

Mattias Persson

unread,
May 1, 2016, 4:45:45 PM5/1/16
to Neo4j
neo4j-import can currently only add new nodes/relationships and add properties to those new nodes/relationships. It cannot currently update existing entities.
Reply all
Reply to author
Forward
0 new messages