参考地址:https://www.jianshu.com/p/6f3e3e989959 一、ElasticSearch 安装,安装机器: 192.168.10.107 192.168.10.108 192.168.9.178 yyapp@H-LAPP-V307 config]$ cat elasti ...
分类:
其他好文 时间:
2020-11-02 09:42:10
阅读次数:
23
一、Windows 与 Linux 文件互传 1. 用 win10 自带的 Windows PowerShell 工具,上传文件到 linux ,命令: PS C:\Users\Administrator\Downloads> scp -P 22 ./elasticsearch-7.9.3-linu ...
分类:
系统相关 时间:
2020-11-01 09:57:16
阅读次数:
22
索引模板简介 索引模板是创建索引的一种方式。将数据写入指定索引时,如果该索引不存在,则根据索引名称能匹配相应索引模板话,会根据模板的配置建立索引。更多介绍请查看官网的Index templates 索引模板查看 查看某个索引模板 curl --user ${USERNAME}:${PASSWORD} ...
分类:
其他好文 时间:
2020-10-30 12:52:05
阅读次数:
16
面试官:想了解你对基础概念的认知。 解答:通俗解释一下就可以。 传统的我们的检索是通过文章,逐个遍历找到对应关键词的位置。 而倒排索引,是通过分词策略,形成了词和文章的映射关系表,这种词典+映射表 即为倒排索引。 有了倒排索引,就能实现 o(1)时间复杂度的效率检索文章了,极大的提高了 检索效率。 ...
分类:
其他好文 时间:
2020-10-30 12:35:32
阅读次数:
21
elasticsearch通过查询修改 update-by-query nest var list = new List<string> { "1", "2" }; client.UpdateByQuery<PostComment>(s => s .Index("post_comments") .S ...
分类:
其他好文 时间:
2020-10-29 09:56:48
阅读次数:
29
快照(snapshot)是最简单的压缩方式。在快照中,全部的当前系统状态都被写入到快照中,存储到持久化的存储中,然后在那个时刻之前的全部日志都可以被丢弃。像Redis这样的KV系统,系统的当前状态就是当前所有key的值及过期时间。 ...
分类:
编程语言 时间:
2020-10-26 11:23:07
阅读次数:
32
突然断电产生LOB大字段的损坏报错通常是ORA-01555: snapshot too old: rollback segment number with name "" too small 或者ORA–00600未知错误等,如果按快照太旧这个根本解决不了问题,因为查询会发现UNDO表空间使用率很低 ...
分类:
其他好文 时间:
2020-10-24 10:00:02
阅读次数:
20
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. P ...
分类:
数据库 时间:
2020-10-20 16:33:15
阅读次数:
35
go 查询es报错: 一、问题描述: elasticsearch 分页查询数据,刚开始数据还可以正常显示,但是到后面就报错: panic: elastic: Error 400 (Bad Request): all shards failed [type=search_phase_execution ...
分类:
其他好文 时间:
2020-10-18 16:27:43
阅读次数:
23
springcloud项目是一个父项目,和多个子项目 例如以下: SpringcloudTest >父项目 SpringcloudTestA >子项目 SpringcloudTestB >子项目 对于子项目进行打包时会出现问题 Failed to execute goal on project : ...
分类:
编程语言 时间:
2020-10-18 16:25:33
阅读次数:
44