Hello,
I have three different indices called: first, second, third.
first is the main index, second references to main and third references to second index using id fields.
The sample data looks like this:
first - 2 sample documents (two different id's)
{"first.id": 1,
"first.desc": "first_1"}
{"first.id": 2,
"first.desc": "first_2"}
second - 2 sample documents (referening to two different first.id)
{"second.id": 1,
"second.desc": "second_1",
"first.id": 1}
{"second.id": 2,
"second.desc": "second_2",
"first.id": 2}
third - 2 sample documents (refering to same second.id document)
{"third.id": 1,
"second.desc": "third_1",
"second.id": 1}
{"third.id": 2,
"second.desc": "third_2",
"second.id": 1}
I would like to automaticaly create an index that would contain documents from all three indices and is automatically updated whenever new document is indexed in any of the indices. Sample of such index would contain below records:
combined index - would contain 3 documents in total.
{"first.id": 1,
"first.desc": "first_1",
"second.id": 1,
"second.desc": "second_1",
"third.id": 1,
"second.desc": "third_1"}
{"first.id": 1,
"first.desc": "first_1",
"second.id": 1,
"second.desc": "second_1",
"third.id": 2,
"second.desc": "third_2"}
{"first.id": 2,
"first.desc": "first_2",
"second.id": 2,
"second.desc": "second_2"}
This is to make sure that our data is denormalized so that it can be pulled by Tableau using ODBC.
Is that possible using existing mechanism?