ElasticSearch Head插件常用操作命令
来源:互联网 发布:rimworld for mac 编辑:程序博客网 时间:2024/06/12 19:35
ElasticSearch Head插件 常用命令语句
表格中的1、2、3、4分别对应下图的四个输入框
"properties" : {
"f_4" : {
"type" : "string",
"store": true,
"term_vector":"with_positions_offsets_payloads",
"analyzer":"ik"
}
}
}query查询http://127.0.0.1:9203/test_v4/_searchpost{
"query":{
"term":{
"f_3":"足球"
}
}
}插入数据http://127.0.0.1:9204/test_v4/type_v4/201702107put{"f_3":"这是测试"}query查询实例2http://127.0.0.1:9202/{
"query":{
"bool":{
"should":[
{"term":{"f_3":"足球"}},
{"term":{"f_3":"比赛"}}
],
"must_not":{
"term":{"f_3":"裁判"}
}
}
}
}查看explainhttp://127.0.0.1:9200/test_v4/_search?q=%E8%B6%B3%E7%90%83&pretty&explain直接在浏览器输入filter查询http://127.0.0.1:9200/test_v4/_searchpost{
"filter":{
"bool":{
"should":[
{"term":{"f_3":"足球"}},
{"term":{"f_3":"比赛"}}
],
"must_not":{
"term":{"f_3":"裁判"}
}
}
}
}测试分词结果http://127.0.0.1:9200/_analyze?analyzer=ik&pretty=true&text=这是一个关于中文分词的测试直接在浏览器输入
1 0
- ElasticSearch Head插件常用操作命令
- [ElasticSearch]ElasticSearch插件之Head
- elasticsearch head插件安装
- elasticsearch-head插件用法
- elasticsearch-head插件安装
- elasticsearch-head插件用法
- elasticsearch head插件安装
- elasticsearch-head插件
- elasticsearch---head插件
- Elasticsearch 安装 head 插件
- ElasticSearch基本插件head
- Elasticsearch Head插件安装
- elasticsearch head插件安装
- Elasticsearch常用操作命令大全
- ElasticSearch之常用插件安装命令
- 【elasticsearch】elasticsearch 2.x 环境搭建以及常用插件(head,hq,ik)安装
- elasticsearch集群管理工具head插件
- elasticsearch集群管理工具head插件
- 二叉树的遍历和存储
- 从零开始,搭建博客系统MVC5+EF6搭建框架(5),博客详情页、留言、轮播图管理、右侧统计博文
- 磁盘问题定位与解决
- 苹果问题
- POJ - 3087 模拟 [kuangbin带你飞]专题一
- ElasticSearch Head插件常用操作命令
- 红黑树(一)
- 行测-数量-小学奥数知识体系
- 170213
- poj2049——Finding Nemo(bfs)
- hdoj1064
- RTAI用户空间编程(七)——共享内存通讯
- Visual Studio C++ RSA加解密方案
- Ubuntu14.04创建Genymotion虚拟机