db/elastic.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
db/elastic.go
@@ -132,7 +132,7 @@ if err != nil { return nil, err } fmt.Println("source", source) //fmt.Println("source", source) for _, info := range source { buckets := info["top_hits"].(map[string]interface{})["hits"].(map[string]interface{})["hits"].([]interface{}) for _, sourceInfo := range buckets {