Elasticsearch version: 7.8.0
Server OS version: RHEL 7
Describe the issue:
We upgraded from ES 6.8.9 (with SG) to ES 7.8.0 (with SG) when we noticed, that filters on index alias (Aliases API | Elasticsearch Guide [8.4] | Elastic) have stopped working (the queries no longer get filtered). To narrow down the problem, we also performed a test with ES 7.8.0 without SG and then the alias filter worked as expected.
Steps to reproduce:
- With ES 7.8.0 and SG enabled
- Create an index, insert some data and add a alias with a filter on on of the fields
- Query the data via the index alias, only the filtered fraction of the data should be returned
Expected behavior:
Index alias should work the same with and without SG.