opensearch-java
opensearch-java copied to clipboard
Add mappings and settings with json
Description
This PR adds functionality to use JSON for mappings and settings in CreateIndexRequest. This makes it easier for developers to create indices.
Issues Resolved
Fixes #302
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Please refer to https://github.com/opensearch-project/opensearch-java/issues/257 , the client would benefit from generalized approach.