Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch 2.5 and Spring Boot java application
Describe the issue:
I’ve been using spring-data-elasticsearch library and added index details into settings and mappings folder so it does create the index(if missing) when application is started. However if you run the application on different environments(dev/live) i noticed that package id( i added for dev will not be the same on live as it gets generated when you create the package on aws OpenSearch. Is there a solution for this so i can use the same package id on both enviroments(dev/live) or I specify in the synonyms_path only the mesh file name that i want to point to(similar to ElasticSearch)?
Relevant Logs or Screenshots: