I have 2 indexes in Azure Search:
// index-1. record type
{
"id": "123456"
}
// index-2. records group type
{
"groupId": "1",
"groupRecords": [ "123456" ]
}
I need to query all records from index-1
that belong to the group in index-2
.
From ElasticSearch documentation I see it supports cross-index queries.
Is that possible to do a similar query with Azure Search? Or is that possible to filter out Search result with a dataset from Cosmos?
p.s. I may have hundreds of millions of records, groups of millions of records, thousands of groups.