mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-21 04:44:56 +00:00
added more context
This commit is contained in:
parent
1c4f81eb53
commit
fbc0447bcd
@ -25,6 +25,8 @@ go get github.com/opensearch-project/opensearch-go
|
||||
|
||||
## Sample code
|
||||
|
||||
This sample code creates a client, adds an index with non-default settings, inserts a document, searches for the document, deletes the document, and finally deletes the index:
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user