ElasticSearch常用操作
查看某个INDEX库某个TYPE表,某个字段的分词结果
GET /${index}/${type}/${id}/_termvectors?fields=${fields_name}
http://192.168.124.64:9299/base_user_receive_120000/base_user_receive/09C67E111F04D249A58651B040459510A2D6CA2955DE745D158F4D77B96F5684/_termvectors?fields=full_address
{
"_index": "base_user_receive_120000",
"_type": "base_user_receive",
"_id": "09C67E111F04D249A58651B040459510A2D6CA2955DE745D158F4D77B96F5684",
"_version": 6,
"found": true,
"took": 0,
"term_vectors": {
"full_address": {
"field_statistics": {
"sum_doc_freq": 64,
"doc_count": 7,
"sum_ttf": 85
},
"terms": {
"北辰": {
"term_freq": 1,
"tokens": [{
"position": 7,
"start_offset": 8,
"end_offset": 10
}]
},
"北辰区": {
"term_freq": 1,
"tokens": [{
"position": 6,
"start_offset": 8,
"end_offset": 11
}]
},
"区": {
"term_freq": 1,
"tokens": [{
"position": 8,
"start_offset": 10,
"end_offset": 11
}]
},
"堤": {
"term_freq": 1,
"tokens": [{
"position": 10,
"start_offset": 12,
"end_offset": 13
}]
},
"天津": {
"term_freq": 2,
"tokens": [{
"position": 1,
"start_offset": 0,
"end_offset": 2
}, {
"position": 4,
"start_offset": 4,
"end_offset": 6
}]
},
"天津市": {
"term_freq": 2,
"tokens": [{
"position": 0,
"start_offset": 0,
"end_offset": 3
}, {
"position": 3,
"start_offset": 4,
"end_offset": 7
}]
},
"头": {
"term_freq": 1,
"tokens": [{
"position": 11,
"start_offset": 13,
"end_offset": 14
}]
},
"津市": {
"term_freq": 2,
"tokens": [{
"position": 2,
"start_offset": 1,
"end_offset": 3
}, {
"position": 5,
"start_offset": 5,
"end_offset": 7
}]
},
"西": {
"term_freq": 1,
"tokens": [{
"position": 9,
"start_offset": 11,
"end_offset": 12
}]
},
"镇": {
"term_freq": 1,
"tokens": [{
"position": 12,
"start_offset": 14,
"end_offset": 15
}]
}
}
}
}
}
ElasticSearch常用操作的更多相关文章
- 一:elasticsearch常用操作总结
索引 搜索 mapping 分词器 1.创建索引 http://192.168.65.131:9200/smartom_index 2.查看索引: http://192.168.65.131:9200 ...
- Elasticsearch本地环境安装和常用操作
本篇文章首发于我的头条号Elasticsearch本地环境安装和常用操作,欢迎关注我的头条号和微信公众号"大数据技术和人工智能"(微信搜索bigdata_ai_tech)获取更多干 ...
- Elasticsearch(ES)API 增删查改常用操作
常用操作 查询所有数据 POST http://192.168.97.173:27009/logstash_test_2018/doc/_search { "query": { & ...
- ElasticSearch 集群基本概念及常用操作汇总(建议收藏)
内容来源于本人的印象笔记,简单汇总后发布到博客上,供大家需要时参考使用. 原创声明:作者:Arnold.zhao 博客园地址:https://www.cnblogs.com/zh94 目录: Elas ...
- elasticsearch使用操作部分
本片文章记录了elasticsearch概念.特点.集群.插件.API使用方法. 1.elasticsearch的概念及特点.概念:elasticsearch是一个基于lucene的搜索服务器.luc ...
- Elasticsearch 常用API
1. Elasticsearch 常用API 1.1.数据输入与输出 1.1.1.Elasticsearch 文档 #在 Elasticsearch 中,术语 文档 有着特定的含义.它是指最顶 ...
- 【三】用Markdown写blog的常用操作
本系列有五篇:分别是 [一]Ubuntu14.04+Jekyll+Github Pages搭建静态博客:主要是安装方面 [二]jekyll 的使用 :主要是jekyll的配置 [三]Markdown+ ...
- php模拟数据库常用操作效果
test.php <?php header("Content-type:text/html;charset='utf8'"); error_reporting(E_ALL); ...
- Mac OS X常用操作入门指南
前两天入手一个Macbook air,在装软件过程中摸索了一些基本操作,现就常用操作进行总结, 1关于触控板: 按下(不区分左右) =鼠标左键 control+按下 ...
随机推荐
- weblogic patch log显示
如何在WebLogic 12.1.3 版本的 server log 中显示 opatch 的补丁信息? 打补丁 patch 23558563 之后. 需要在 JAVA_OPTIONS 中添加如下参数 ...
- android WebView技术笔记(存储技术)
作为刚刚开始工作的新手程序猿,各种知识还不算熟练,所以将学习到的知识记录一下以免以后忘记. WebView加载h5的知识现在可以说非常的常用,通过加载h5的网页可以在不更新app的情况下来更新app的 ...
- Ajax - Apache安装配置
apache安装配置 1.安装wamp2.配置根路径3.默认的网站根路径是安装目录的www子目录,如果不想使用默认目录,可以自己配置.配置方式如下: --找到文件wamp\bin\apache\Apa ...
- 使用GDB调试Android Native 层代码
--------------步骤:0. adb root0. adb shell0. ps | grep browser1. gdbserver :5039 --attach pid2. adb fo ...
- Log4j配置(xml和property两种)
本文章为转载记录,纯粹个人备忘. 一.log4j.properties 的使用详解 1.输出级别的种类 ERROR.WARN.INFO.DEBUGERROR 为严重错误 主要是程序的错误WARN 为一 ...
- Windows中查看进程的资源消耗(cpu, Disk,Memory,NetWork)
1.通过Windows Task Manager 的 Performance Tab 可以看到总体的性能消耗情况. 2.如果想看系统中每个进程的资源消耗,可以点击 下面的 Open Resource ...
- k8s 集群部署问题整理
1.hostname “master” could not be reached在host中没有加解析 2.curl -sSL http://localhost:10248/healthzcurl: ...
- 理解jQuery的$.extend与$.fn.extend
https://www.cnblogs.com/xuxiuyu/p/5989743.html 上面这篇博客总结的很棒!!,以下对自己的认识做一个总结 <!DOCTYPE html> < ...
- 【shell基础】if分支语句
1.if判断式if [ 条件判断一 ] && (||) [ 条件判断二 ]; thenelif [ 条件判断三 ] && (||) [ 条件判断四 ]; thenels ...
- log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [File] to set object on [TF.Log.FileAppender]
难受,香菇. 大概研究了两个多小时,搜了很多资料都没有很完美的答案,最后突然脑子就一闪一闪,才弄明白咋回事. log4net:ERROR XmlHierarchyConfigurator: Canno ...