Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.
A way to create the index with its mapping and analyzer for an email
field, a document to be indexed and the search query that works on index_b
but not on index_a
.