Multiple mappings in the same index


I'm having trouble having migrated to version 2.0 of ES.

I have an index with alias1 , which have 2 mappings (one for data and another attach ) . Before migrating to version 2.0, different mappings accessed as follows :

/ Alias1 / MAPPING1 / _search
/ Alias1 / MAPPING2 / _search

But to be updated , I can now only access of the form:

/ Alias1 / MAPPING1 / _search
/ INDEX / MAPPING2 / _search

I have to create an index mapping?

Thank you very much , greetings

I'd start by looking here -

Then see if that helps clarify things :slight_smile: