posts - 609,  comments - 13,  views - 64万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
10 2024 档案
ES查询常用语法
摘要:1. ElasticSearch之查询返回结果各字段含义执行命令:索引库名称/_search空搜索的结果为: { "took": 2, # 该命令请求花费了多长时间,单位:毫秒。 "timed_out": false, # 搜索是否超时 "_shards": { # 搜索分片信息 "total": 阅读全文
posted @ 2024-10-22 16:34 邢帅杰 阅读(30) 评论(0) 推荐(0) 编辑
MySQL和Elasticsearch使用场景
摘要:来源:https://www.zhihu.com/question/637732937ES的底层实现:倒排索引正排索引(Forward Index)的实现方式为,通过文档ID去查找整个文档内容,适用于全部文档遍历或根据某个文档ID查找内容的场景。而倒排索引(Inverted Index)的实现方式, 阅读全文
posted @ 2024-10-22 13:51 邢帅杰 阅读(53) 评论(0) 推荐(0) 编辑
Android为页面添加水印、dp、px、sp互转
摘要:来源:https://blog.csdn.net/fantasy_lin_/article/details/97651171https://blog.51cto.com/u_16213318/11745242为了能够方便地在任意页面上加水印,所以应该采取用Java代码来实现,而不是在XML布局文件里 阅读全文
posted @ 2024-10-17 17:08 邢帅杰 阅读(50) 评论(0) 推荐(0) 编辑
The instance of entity type 'xxx' cannot be tracked because another instance with the same key value for {'xxx'} is already being tracked.
摘要:参考:https://blog.csdn.net/qq_18638761/article/details/107833999https://www.cnblogs.com/stgp/p/12294454.html发生的原因,在CheckProductionCode()方法中根据主键id查询对象时没有 阅读全文
posted @ 2024-10-16 13:55 邢帅杰 阅读(34) 评论(0) 推荐(0) 编辑
iframe自动宽高 window.postMessage机制
摘要:参考:https://blog.csdn.net/m0_46613429/article/details/139351299https://juejin.cn/post/7298670864441901056https://blog.csdn.net/weixin_46661464/article/ 阅读全文
posted @ 2024-10-15 15:46 邢帅杰 阅读(78) 评论(0) 推荐(0) 编辑
.NET压缩zip、.NET解压zip
摘要:参考:https://blog.csdn.net/zhaotianff/article/details/141156035 using System.IO.Compression; namespace XCG.Commons { public class ZipUtil { /// <summary 阅读全文
posted @ 2024-10-14 10:04 邢帅杰 阅读(21) 评论(0) 推荐(0) 编辑
java解压rar,解压zip
摘要:解压zip package com.xcg.webapp.common; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; imp 阅读全文
posted @ 2024-10-10 13:28 邢帅杰 阅读(122) 评论(0) 推荐(0) 编辑
C#执行cmd命令
摘要:private async void btnInstallPackage_Click(object sender, EventArgs e) { string msg = await Task.Run(() => { return executeCmd(); }); UpdateMsg(msg); 阅读全文
posted @ 2024-10-09 14:26 邢帅杰 阅读(20) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示