mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-06 15:18:09 +00:00
Merge pull request #320 from opensearch-project/go-client-error
Go bug fix
This commit is contained in:
commit
ae117cead3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user