opensearch-java icon indicating copy to clipboard operation
opensearch-java copied to clipboard

Add mappings and settings with json

Open JM-Lab opened this issue 1 year ago • 1 comments

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.

JM-Lab avatar May 14 '24 13:05 JM-Lab

Please refer to https://github.com/opensearch-project/opensearch-java/issues/257 , the client would benefit from generalized approach.

reta avatar May 14 '24 13:05 reta