随笔分类 - Elasticsearch
摘要:Es 内置分词器 Standard Analyer 默认分词器,按词切分,小写处理 Simple Analyer 按照非字母切分(符号被过滤),小写处理 Stop Analyer 小写处理,停用过滤词(the, is , a) Whitespace Analyer 按照空格切分,不转小写 Keywo
阅读全文
摘要:查询全部文档 GET users/_search 不存在结果: { "error" : { "root_cause" : [ { "type" : "index_not_found_exception", "reason" : "no such index [users]", "resource.t
阅读全文
摘要:安装步骤: 下载jdk https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 直接安装,安装位置 配置环境变量 打开终端命令行, 输入命令 vim java.bash_profile,
阅读全文