Hello,
I've got two documents with different types:
Sth like this:
{
"mappings": {
"owner": {
"properties": {
"Id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"Name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"copportunity": {
"_parent": {
"type": "owner"
},
"properties": {
"OwnerId": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
}
Is it possible to return the child(copportunity) and owner.name field or all parent object which is owner.
Thank you for help.