aleph
aleph copied to clipboard
Bulk loaded entites don't appear in collection
I don't know if it is a bug or I am doing something wrong, but docs are very limited and I didn't see what is wrong and I'm just trial-n-erroring.
What I do: I load some data (got from external document analyzer) to a collection via REST API. Example:
[
{
"properties": {
"name": [
"Some Person"
]
},
"schema": "Person",
"collection_id": 291,
"id": "57bbeb49e12e95b416b4a7ae321313b8f3e82088"
},
{
"properties": {
"name": [
"Another Person"
]
},
"schema": "Person",
"collection_id": 291,
"id": "d86a917787f6b10989c069dc9bad43e9663794f1"
},
{
"properties": {
"name": [
"Some Address"
]
},
"schema": "Address",
"collection_id": 291,
"id": "57bbeb49e12e95b416b4a7ae321313b8f3e82088"
},
]
And in result Address entities successfully appear in collection, but Person - not.
@terion-name you have a duplicated ID. "57bbeb49e12e95b416b4a7ae321313b8f3e82088" appears as an ID value for both the Person entity and the Address entity.