mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-24 07:25:35 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -24,7 +24,7 @@ type SearchService struct {
|
||||
client *client.Client
|
||||
}
|
||||
|
||||
// Create a search index by name
|
||||
// Create an index by name
|
||||
func (t *SearchService) CreateIndex(request *CreateIndexRequest) (*CreateIndexResponse, error) {
|
||||
|
||||
rsp := &CreateIndexResponse{}
|
||||
@@ -32,7 +32,7 @@ func (t *SearchService) CreateIndex(request *CreateIndexRequest) (*CreateIndexRe
|
||||
|
||||
}
|
||||
|
||||
// Delete an index.
|
||||
// Delete an index by name
|
||||
func (t *SearchService) DeleteIndex(request *DeleteIndexRequest) (*DeleteIndexResponse, error) {
|
||||
|
||||
rsp := &DeleteIndexResponse{}
|
||||
|
||||
Reference in New Issue
Block a user