curl方式创建elasticsearch的mapping

curl -XPUT 'http://192.168.1.105:9200/bank/item2/_mapping' -d '
{
"item2": {
"properties": {
"title": {
"type": "string",
"boost": 2.0,
"index": "analyzed",
"store": "yes",
"term_vector" : "with_positions_offsets"
},
"description": {
"type": "string",
"boost": 1.0,
"index": "analyzed",
"store": "yes",
"term_vector" : "with_positions_offsets"
},
"link": {
"type": "geo_point"
},
"ip": {
"store": true,
"type": "ip"
}
}
}
}'

最新文章

  1. Java豆瓣电影爬虫——小爬虫成长记(附源码)
  2. Android 二维码 生成和识别(转)
  3. 阻抗计算(用SI9000如何计算微带线)
  4. Oracle 时间处理(加减)
  5. (Android学习系列)三,窗口的常用事件
  6. SQLite数据插入异常
  7. netty httpserver
  8. Django文档——Model字段类型(Field Types)
  9. pop动画大全 只能时代程序员更应该关心效果而不是冷冰冰的代码
  10. #include<unistd.h>存在linux中,含有系统服务的函数
  11. SqlServer查询数据库所有表
  12. 【MongoDB】在windows平台mongodb切片集群(三)
  13. linux内核移植到S5pv210
  14. delphi公用函数
  15. FineUIMvc随笔 - 怎样在控件中嵌套 HTML
  16. salesforce零基础学习(七十六)顺序栈的实现以及应用
  17. CMCC验证绕过POC
  18. [转]gitlab cicd (二)系列之安装git-runner rpm安装方式
  19. 简单的Map缓存机制实现
  20. impress.js 中文注释

热门文章

  1. hdu-1823 Luck and Love
  2. 有趣的问题--12 coins problem
  3. android开发------编写用户界面之相对布局
  4. 【BZOJ 4636】蒟蒻的数列
  5. OkHttp:Java 平台上的新一代 HTTP 客户端
  6. SpringMVC学习系列(8) 之 国际化
  7. python Chrome 开发者模式消失的方法
  8. 6 this的使用方法
  9. dede使用方法----调用列表页的分页功能
  10. C# 时间比较大小