0

I have seen this post. But it was in 2015. So I just want to know if is there any way to achieve this, in elasticsearches recent releases.

My use case is like this, I have one index with the following fields

test_index_1

  • id
  • name
  • fieldA
  • fieldB
  • fieldC

With these many fields, elasticsearch gives a response within a second(Actually I have more fields than this and it contains many data.)

But now I want to add one more field to the index(this is a use case for one more API, where this API requires all the fields of test_index_1 and an additional field). This new field has too much data. So after adding this data to the same index test_index_1 response became a bit slower.

So I wanted to create one more index, test_index_2 with the following fields

test_index_2

  • id
  • content(new field)

So what I wanted to do is create a relation(join) between two indexes, that is the relation between test_index_1 and test_index_2, using the common field id .

I want to do this, just because the first API shouldn't get affected just because of that new field.

Thank you!

randomDev
  • 73
  • 9

0 Answers0