mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-06 03:38:10 +00:00
“..”
Signed-off-by: ashwinkumar12345 <kumarjao@users.noreply.github.com>
This commit is contained in:
parent
3bf146760a
commit
eede5b515a
@ -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