|
@@ -220,7 +220,6 @@ func (e *Elastic) GetNoLimit(index, query string) *[]map[string]interface{} {
|
|
|
|
|
|
if searchResult.Hits != nil {
|
|
|
resNum := len(searchResult.Hits.Hits)
|
|
|
- util.Debug(resNum)
|
|
|
res = make([]map[string]interface{}, resNum)
|
|
|
for i, hit := range searchResult.Hits.Hits {
|
|
|
json.Unmarshal(hit.Source, &res[i])
|