cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Tag the nodes with a temporary label

rogeryu
Node Link

In Graph Academy, the first step to process in batches is to

  1. Tag all the nodes we need to process with a temporary label (for example Process ).

And the tag is attached to the flight node:

MATCH (f:Flight)
SET f:Process

Is the point of tagging just to be able to limit number of nodes matched? e.g.:

MATCH (flight:Process)
WITH flight LIMIT 500
...other processes...
REMOVE flight:Process
1 REPLY 1

Yes with this statement you will remove the 'Process' Label from nodes with have 'flight:Flight:Process' Labels