log
liuxiaolong
2019-10-26 350ee1bbfa56c8fd7162953afcd4950f24f884b2
log
1个文件已修改
3 ■■■■ 已修改文件
EsApi.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
EsApi.go
@@ -334,7 +334,7 @@
        analyServerFilterStr = "{\"term\":{\"analyServerId\":\"" + analyServerId + "\"}},"
    }
    ts := time.Now()
    //首次请求头
    url := "http://" + serverIp + ":" + serverPort +
        "/" + indexName + "/_search?search_type=dfs_query_then_fetch;scroll=1m"
@@ -433,6 +433,7 @@
    wg.Wait()
    fmt.Println("lenth_all: ", len(capturetable))
    fmt.Println("耗时:", time.Since(ts))
    return capturetable
}