上一页 1 ··· 4 5 6 7 8
摘要: 修改 /etc/resolv.conf 和 /etc/hosts 两个文件 1、查看 /etc/resolv.conf 里nameServer对不对 2、在/etc/hosts 写入异常的域名 和ip 127.0.0.1 localhost localhost.localdomain localho 阅读全文
posted @ 2019-08-14 15:43 归零19 阅读(4012) 评论(0) 推荐(0) 编辑
摘要: 用java书写代码,实现与Google类似的全文搜索功能,它提供了全文检索引擎的架构,包括完整的查询引擎和索引引擎 Doug Cutting 写的一个开源软件,借鉴了Google的 GFS和MapReduce思想,Map-Reduce 和 Nutch Distributed File System 阅读全文
posted @ 2019-08-12 16:40 归零19 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 一、大量网页怎么存储 亿万级;没有硬盘,存储在内存中,加快检索的速度;冗余的办法储存,将数据写入多个节点中。 二、搜索算法 搜索响应速度,毫秒级响应;——倒排索引 三、page-rank 计算问题 网页排名,优先推荐的问题;—— 倒排索引 先分词——建立索引——建立倒排列表 page-rank 算法 阅读全文
posted @ 2019-08-12 15:13 归零19 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 续写上传的excel并导出 新建excel并导出 阅读全文
posted @ 2019-08-09 15:20 归零19 阅读(275) 评论(0) 推荐(0) 编辑
摘要: public void saveBatch(List<Asset> entitys) throws ClassNotFoundException, SQLException { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm 阅读全文
posted @ 2019-08-09 14:53 归零19 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 修改nginx配置文件nginx.conf upstream aaa{ server 125.210.163.12:18887 weight=2; server 125.210.163.12:18888 weight=1; } location / { ip_hash; # 需要负载的server列 阅读全文
posted @ 2019-08-09 14:45 归零19 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 错误:Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment 解决:在tomcat里bin目录下的catalina.sh 文件添加 CATALINA_OP 阅读全文
posted @ 2019-08-09 14:26 归零19 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 新的开始,决定写微博,主要是希望能督促自己学习,也是一个笔记本的作用。 阅读全文
posted @ 2019-08-09 14:04 归零19 阅读(95) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8