Let say we have 2 index that contains almost similar data.
Example:
- index_1 // contains some data
- index_2 // contains some data (likely the same one)
Does there is a way to use an alias to access them, but only get results from one of it ?
One way could be to do that clientside -> fetch all the indices that the alias point and then query one of it -> but it is adding complexity in client side
Right now I tried with alias pointing to index_1 and index_2 -> but it is merging the results of the 2 index.
question from:
https://stackoverflow.com/questions/65949426/is-there-is-a-way-to-load-balance-2-index-in-elasticsearch 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…