当前位置: 首页 > news >正文

es6.x和es7.x如何创建索引?

一、es6.x

{"settings": {"number_of_shards": "2","number_of_replicas": "2","max_result_window": 100000},"mappings": {"doc": {"dynamic": "strict","properties": {"name": {"type": "keyword"}}}}
}

二、es7.x

{"number_of_shards": "2","number_of_replicas": "2","max_result_window": 100000,"analysis": {"analyzer": {"ik": {"tokenizer": "ik_max_word"}}},"dynamic": "strict","properties": {"name": {"type": "text"}}
}
http://www.lryc.cn/news/186944.html

相关文章:

  • 《DevOps 精要:业务视角》- 读书笔记(三)
  • C语言——文件操作_学习笔记
  • cap分布式理论
  • asp.net core 如何统一json序列化格式
  • DALL·E 3 ChatGPT-4的梦幻联动
  • linux,write:xxx has messages disabled 与 Ubuntu多用户同时登录的问题 ubuntu 20.04
  • ffmpeg批量转换ape/wav为mp3 (linux, mac适用)
  • 自动生成JPA bean及repository生成简陋工具
  • vue3+vite+uniapp 封装一个省市区组件
  • OpenCV报错:AttributeError: module ‘cv2.cv2‘ has no attribute ‘SIFT_create‘
  • 通用监控视频web播放方案
  • C++基础知识3
  • 【配置vscode编写python代码并输出到外部控制台】
  • RK3588开发笔记-MIPI-CSI接口视频解码芯片XS9922B调试
  • DVWA -xss
  • C语言编程实现只有一个未知数的两个多项式合并的程序
  • C# .net创建一个MVC框架工程
  • Deep learning of free boundary and Stefan problems论文阅读复现
  • LeetCode 1277. 统计全为 1 的正方形子矩阵【动态规划】1613
  • 测试部门来了个00后卷王之王,老油条感叹真干不过,但是...
  • 360 G800行车记录仪,不使用降压线如何开机,8芯插头的定义。
  • vue2踩坑之项目:Swiper轮播图使用
  • python经典百题之分桃子
  • vscode ssh linux C++ 程序调试
  • VUE和Angular有哪些区别?
  • 云原生边缘计算KubeEdge安装配置(二)
  • SQL多表设计--一对多(外键)
  • Stm32_标准库_9_TIM
  • 283. 移动零
  • 用 HTTP 提交数据,基本就这 5 种方式