Hello guys!
If I have two docs in two different indices.
One doc in index "content" is like this
{
"id": "content_id",
"content": random content,
"user_details":{
"user_id":"123"
}
}
and another doc in another index "user_info" is like this
{
"id": "user_info_id",
"user_id": "123,
"avatar" : "https://xxx.xxx",
"username" : "xxxx"
}
Can I combine these two docs filtered by field "user_id" like this? Just like $lookup in MongoDb?
{
"id": "content_id",
"content": random content,
"user_details":{
"user_id":"123"
"avatar" : "https://xxx.xxx",
"username" : "xxxx"
}
}