comment-1

Signed-off-by: huanggze <loganhuang@yunify.com>
This commit is contained in:
huanggze
2019-08-21 15:57:52 +08:00
parent bfed3a6baa
commit 429573c837
5 changed files with 31 additions and 27 deletions

View File

@@ -561,7 +561,7 @@ func Query(param QueryParameters) *QueryResult {
return queryResult
}
body, err := client.Search(query, config.Index)
body, err := client.Search(query)
if err != nil {
glog.Errorln(err)
queryResult = new(QueryResult)