update lib es v8

This commit is contained in:
Pongpon Sinlapa
2023-01-14 18:34:59 +07:00
parent 49a92fc25e
commit 251bd25d02
6 changed files with 13 additions and 15 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"bytes"
"encoding/json"
"github.com/elastic/go-elasticsearch/v7"
"github.com/elastic/go-elasticsearch/v7/esapi"
"github.com/elastic/go-elasticsearch/v8"
"github.com/elastic/go-elasticsearch/v8/esapi"
)
// CountRequest represents a request to get the number of matches for a search