I see. I will try to create a new docker file running the bulk loader first.
For now, based on what you said, I tried the live loader instead. Just changed the word “bulk” with “live”. It means:
dgraph live -f data.json -s test.schema
Now I got:
Error while processing schema file “test.schema”: rpc error: code = Unknown desc = line 2 column 15: Expected new line after field declaration. Got @
rpc error: code = Unknown desc = line 2 column 15: Expected new line after field declaration. Got @root@e89roroot@e89dbcroot@e89dbrorrrrrrrororororoot@roo
The content of my files are:
data.json
{
“Person”: [
{
“xid”: “1”,
“name”: “Robert”
}
]
}
test.schema
type Person {
xid: String! @id
name: String @search(by: [exact])
}