Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
dependencies {
implementation ‘org.opensearch.client:opensearch-rest-client: 2.7.0’
implementation ‘org.opensearch.client:opensearch-java:2.4.0’
}
Describe the issue:
how to create a indexsetting in opensearch java api?
“settings”: {
“index”: {
“number_of_shards”: “5”,
“number_of_replicas”: “1”
},
“analysis”: {
“normalizer”: {
“useLowercase”: {
“type”: “custom”,
“filter”: [“lowercase”]
}
}
}
}
The above json format is working in elastic search. Anyone know how to change it to open search format? I could not find any useful document
Configuration:
Relevant Logs or Screenshots: