Signed-off-by: ashwinkumar12345 <kumarjao@users.noreply.github.com>
This commit is contained in:
ashwinkumar12345 2021-12-07 12:33:40 -08:00
parent 3bf146760a
commit eede5b515a
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ func main() {
}`)
// Create an index with non-default settings.
res := opensearchapi.CreateRequest{
Index: IndexName,
res := opensearchapi.IndicesCreateRequest{
Index: IndexName,
Body: mapping,
}
fmt.Println("creating index", res)