Fork me on GitHub

2020年4月6日

Search Api

摘要: 语法 范围 /_search 集群上所有的索引 /index1/_search index1 /index1,index2/_search index1,index2 /index*/_search 以index开头的索引 Term :Beautiful Mind 等效于 Beautiful OR 阅读全文

posted @ 2020-04-06 23:01 *Hunter 阅读(274) 评论(0) 推荐(0) 编辑

Analyzer分词器

摘要: 一、Elasticsearch内置分词器 #Simple Analyzer – 按照非字母切分(符号被过滤),小写处理 #Stop Analyzer – 小写处理,停用词过滤(the,a,is) #Whitespace Analyzer – 按照空格切分,不转小写 #Keyword Analyzer 阅读全文

posted @ 2020-04-06 22:43 *Hunter 阅读(481) 评论(0) 推荐(0) 编辑

elasticsearch简单使用

摘要: 一、索引与文档 //查看索引相关信息 GET movies //查看索引文档总数 GET movies/_count 二、集群与分片 1,查看集群的健康状况 GET _cluster/health green - 主分片副本都正常分配 yellow - 主分片全部正常分配,有副本分片未能正常分配 r 阅读全文

posted @ 2020-04-06 15:58 *Hunter 阅读(403) 评论(0) 推荐(0) 编辑

导航

AmazingCounters.com