Multiple mappings in the same index


(Kike) #1

Hello,

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


(Mark Walkom) #2

I'd start by looking here - https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html

Then see if that helps clarify things :slight_smile:


(system) #3