当前位置:网站首页>ES的操作
ES的操作
2022-07-16 06:23:00 【计算机中的小垃圾】
es是用于来搜索无结构的,使用的是倒排索引,es创建一个索引就相当于是创建一个数据库。
(1)创建索引,是用put方法来进行的,uri后面跟着索引的名字
(2)查询这个es创建的所有索引
(3)查看单个索引,你就后面跟某个索引的名字就行
(4)在对应的数据添加数据
http://127.0.0.1:9200/索引名字/_doc
记住格式要用json的格式,而且发送额方法是post,如果不是post的话就会报错
(5)条件查询
可以不把索引对应的所有数据查询出来,只查询自己想要的数据
(6)查询指定的字段
边栏推荐
- Nc16857 [noi1999] birthday cake
- Xilinx FPGA 从spi flash启动配置数据时的地址问题
- Remove the problem of repeated letters (the minimum sequence of different characters)
- SLAM_旋转运动学_两个坐标系速度v和加速度a的关系
- STM32应用开发实践教程:具备交互功能的人机界面应用开发
- [C language] printf formatted output and modifier summary
- SLAM_ Rotational kinematics_ Relationship between velocity V and acceleration a in two coordinate systems
- QT学习日记16——QFile文件读写
- Family tree problem
- 06 gulimall basic crud function creation
猜你喜欢

SLAM_ Rotational kinematics_ Relationship between velocity V and acceleration a in two coordinate systems

Stress testing tools (commonly used) and sendfile process

05-GuliMall VirtualBox给虚拟机设置固定IP

mitmproxy 入门安装

Total sequencing problem

Xsslabs customs clearance

阿里云国际版ECS云服务器欠费会自动释放吗?

Xilinx FPGA 从spi flash启动配置数据时的地址问题

2022年A特种设备相关管理(电梯)操作证考试题及在线模拟考试

05 gulimall VirtualBox set fixed IP for virtual machine
随机推荐
Conditional ternary operator...
Boyun was selected as the representative manufacturer of Gartner China cloud management tool market guide
STM32 USB virtual serial port communication
Fleet | "background exploration" issue 4: distributed transactions
Antd a-upload limit the number of uploads when multiple is true
STM32应用开发实践教程:基于 CAN 总线的多机通信应用开发
前 K 个高频元素问题
阿里云国际版ECS云服务器欠费会自动释放吗?
通过装饰器获取调用函数的文件名称及函数名称
[C language] printf formatted output and modifier summary
Data agility, HTAP database determines both efficiency and life and death
选择语句 if else
STM32 general timer
GEE(6):设置计算数值/影像保留小数位数
C library function - sscanf() usage
Idea integration Gerrit plug-in
05 gulimall VirtualBox set fixed IP for virtual machine
微机原理与技术接口 实验三 循环结构
SLAM_ Rotational kinematics_ Relationship between velocity V and acceleration a in two coordinate systems
Going to sea has become a general trend. How can technology be empowered| ArchSummit