When creating with UNWIND and MERGE, the returned id of DIFFERENT chunks (if they are different) should have different rids.
Executed query :
UNWIND $batch AS BatchEntry
MERGE (n:CHUNK { subtype: BatchEntry.subtype, name: BatchEntry.name, text: BatchEntry.text, index: BatchEntry.index, pages: BatchEntry.pages, SUMMARY_TASK_DONE: BatchEntry.SUMMARY_TASK_DONE, NER_TASK_DONE: BatchEntry.NER_TASK_DONE, PROPOSE_QUESTIONS_TASK_DONE: BatchEntry.PROPOSE_QUESTIONS_TASK_DONE })
return ID(n) as id
Params :
dump.json
Weird :
So it returns a BatchEntry key with the entry object (never asked for it , wtf ????) and the RID is always #1:0
DB Dump :
DADADADA-backup-20260114-124119950.zip