上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 46 下一页
摘要: 安装 1.下载工具windbg 地址:https://www.microsoft.com/zh-cn/p/windbg-preview/9pgjgd53tn86?SilentAuth=1&rtc=1&activetab=pivot:overviewtab 2.Dump文件:任务管理;选择w3wp.e 阅读全文
posted @ 2019-10-22 11:34 chester·chen 阅读(1207) 评论(0) 推荐(0)
摘要: 原文https://www.cnblogs.com/calvinK/p/9274239.html centos7 lldb 调试netcore应用的内存泄漏和死循环示例(dump文件调试) 写个demo来玩一玩linux平台下使用lldb加载sos来调试netcore应用。当然,在真实的产线环境中需 阅读全文
posted @ 2019-10-22 11:03 chester·chen 阅读(2359) 评论(1) 推荐(3)
摘要: 原文https://www.cnblogs.com/calvinK/p/9263696.html centos7下安装lldb,dotnet netcore 进程生成转储文件,并使用lldb进行分析 随着netcore应用在linux上部署的应用越来越多,碰到cpu 100%,内存暴涨的情况也一直偶 阅读全文
posted @ 2019-10-22 11:00 chester·chen 阅读(571) 评论(0) 推荐(0)
摘要: 原文https://juejin.im/post/5b5985b1f265da0f875938d2 Linux OpenVPN 客户端连接配置 最近北京机房的机器需要连接上海机房的服务器,上海机房用的 VPN 服务是 OpenVPN。又听说 OpenVPN 客户端可以在 Linux 服务器上运行,所 阅读全文
posted @ 2019-10-11 10:25 chester·chen 阅读(10) 评论(0) 推荐(0)
摘要: public void Refresh() { client.Refresh("employee"); } public void Flush() { client.Flush("employee"); } /// <summary> /// _optimize=ForceMerge /// </summary> public void ForceMerge() { client.ForceMer 阅读全文
posted @ 2019-09-26 11:40 chester·chen 阅读(239) 评论(0) 推荐(0)
摘要: /// <summary> /// Dynamic = false无法搜索 /// </summary> public void Dynamicmapping() { var response = client.IndexExists("employee"); if (!response.Exists) { client.CreateIndex("employee"); } client.Map< 阅读全文
posted @ 2019-09-24 16:23 chester·chen 阅读(328) 评论(0) 推荐(0)
摘要: public void SetAnalysis() { if (!client.IndexExists("employee").Exists) { client.CreateIndex("employee", i => i.Settings( ... 阅读全文
posted @ 2019-09-24 11:11 chester·chen 阅读(382) 评论(0) 推荐(0)
摘要: /// <summary> /// PUT /employee/employee/9e5e50da-7740-488e-bee2-b24951435691?routing=test_routing /// </summary> public void Routing() { client.Index<employee>(new employee{first_name = "chen",last_n 阅读全文
posted @ 2019-09-22 14:04 chester·chen 阅读(252) 评论(0) 推荐(0)
摘要: Elasticsearch 的相似度算法 被定义为检索词频率/反向文档频率, TF/IDF ,包括以下内容: 检索词频率 检索词在该字段出现的频率?出现频率越高,相关性也越高。 字段中出现过 5 次要比只出现过 1 次的相关性高。反向文档频率 每个检索词在索引中出现的频率?频率越高,相关性越低。检索 阅读全文
posted @ 2019-09-21 10:22 chester·chen 阅读(235) 评论(0) 推荐(0)
摘要: text字符串sort会先分词。可先建立filed字段。并设置为keyword mapping sort 阅读全文
posted @ 2019-09-21 09:52 chester·chen 阅读(441) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 46 下一页