Opensearch dynamic mapping False

so currently I’m trying to migrate my base code from elastic-search 6.x to opensearch 1.2,
i’m using opensearch-dsl=2.0.1

my elasticsearch output: {'settings': {'number_of_shards': 3, 'number_of_replicas': 1, 'refresh_interval': '10s', 'index.mapping.total_fields.limit': 2000}, 'mappings': {**'benchmarking-ad'**: {'properties': {'id': {'type': 'keyword'}, 'short_id': {'type': 'keyword'}, 'version': {'type': 'integer'}, 'item_type': {'type': 'keyword'}, 'offer_type': {'type': 'keyword'}, 'site': {'type': 'keyword'}, 'created': {'type': 'date'}, 'updated': {'type': 'date'}, 'category': {'type': 'keyword'}, 'price': {'type': 'integer'}, 'transition': {'properties': {'marketplace_ad_transition': {'type': 'keyword'}, 'marketplace_ad_transition_details': {'properties': {'reason': {'type': 'keyword'}}, 'dynamic': False, 'type': 'object'}, 'serenity_ad_transition': {'type': 'keyword'}}, 'dynamic': False, 'type': 'object'}, 'status': {'properties': {'marketplace_ad_status': {'type': 'keyword'}, 'serenity_ad_status': {'type': 'keyword'}}, 'dynamic': False, 'type': 'object'}, 'title': {'type': 'text'}, 'description': {'type': 'text'}, 'address': {'properties': {'street': {'type': 'text'}, 'postal_code': {'type': 'keyword'}, 'city': {'type': 'keyword'}, 'country': {'type': 'keyword'}, 'region': {'type': 'keyword'}, 'dpt_code': {'type': 'keyword'}}, 'dynamic': False, 'type': 'object'}, 'user_id': {'type': 'keyword'}, 'email': {'type': 'text'}, 'account': {'properties': {'id': {'type': 'keyword'}, 'type': {'type': 'keyword'}, 'group_id': {'type': 'keyword'}, 'email': {'type': 'keyword'}, 'phone': {'type': 'keyword'}, 'name': {'type': 'keyword'}, 'registration_date': {'type': 'date'}, 'updated': {'type': 'date'}}, 'dynamic': False, 'type': 'object'}, 'device': {'properties': {'ip_address': {'type':

** opensearch output :**
{'settings': {'number_of_shards': 3, 'number_of_replicas': 1, 'refresh_interval': '10s', 'index.mapping.total_fields.limit': 2000}, 'mappings': {'dynamic': False, 'properties': {'id': {'type': 'keyword'}, 'short_id': {'type': 'keyword'}, 'version': {'type': 'integer'}, 'item_type': {'type': 'keyword'}, 'offer_type': {'type': 'keyword'}, 'site': {'type': 'keyword'}, 'created': {'type': 'date'}, 'updated': {'type': 'date'}, 'category': {'type': 'keyword'}, 'price': {'type': 'integer'}, 'transition': {'dynamic': False, 'properties': {'marketplace_ad_transition': {'type': 'keyword'}, 'marketplace_ad_transition_details': {'dynamic': False, 'properties': {'reason': {'type': 'keyword'}}, 'type': 'object'}, 'serenity_ad_transition': {'type': 'keyword'}}, 'type': 'object'}, 'status': {'dynamic': False, 'properties': {'marketplace_ad_status': {'type': 'keyword'}, 'serenity_ad_status': {'type': 'keyword'}}, 'type': 'object'}, 'title': {'type': 'text'}, 'description': {'type': 'text'}, 'address': {'dynamic': False, 'properties': {'street': {'type': 'text'}, 'postal_code': {'type': 'keyword'}, 'city': {'type': 'keyword'}, 'country': {'type': 'keyword'}, 'region': {'type':

i would like to keep the same mapping but i’m unable to figure out how can i do that
did anyone faced such case ?
thanks

Hi @glory1g

I am unclear about all the differences in mapping you’re seeing on migration. The pasted output seems incomplete. Could you point me to any specific differences?

And what mechanism are you using for migration - remote reindexing / rolling upgrade / or any other mechanism?