当前位置:网站首页>Operation of documents in index library
Operation of documents in index library
2022-07-19 06:34:00 【Its natural happy clothes】



( example ) Code :
# Inserted into the document
POST /heima/_doc/1
{
"info": " Black horse programmer java lecturer ",
"email": "[email protected]",
"name": {
"firstname": " cloud ",
"lastname": " Zhao "
}
}
# Query the document
GET /heima/_doc/1
# Delete the document
DELETE /heima/_doc/1
# Modify the document , The way 1: Completely modify the document , If it exists, delete the old , The new covers the old , If not , Then add the document ( Therefore, the method of putting and modifying is also a method of inserting documents )
POST /heima/_doc/1
{
"info": " Black horse programmer java lecturer ",
"email": "[email protected]",
"name": {
"firstname": " cloud ",
"lastname": " Zhao "
}
}
# Modify the document , The way 2: Local modification of document fields
POST /heima/_update/1
{
"doc":{
"email": "[email protected]"
}
}Run a screenshot :






边栏推荐
- 2022/07/10 第五小组 丁帅 学习笔记 day03
- Acwing daily question three thousand five hundred and eleven
- Computational geometry (4.17)
- 面试复习第N次
- 数学基础课2_欧拉函数,线性筛,扩欧
- 山西省第二届网络安全技能大赛(企业组)部分赛题WP(二)
- 山西省第二届网络安全技能大赛(企业组)部分赛题WP(四)
- Attention prediction in self video based on motion and visual prominence
- 工作中遇到的一些问题
- Markdown syntax and common shortcuts
猜你喜欢

2022/07/11 group 5 Ding Shuai's study notes day04
![[force buckle] symmetric binary tree](/img/a4/31e936fb242aa8a3243ea257f5fd29.png)
[force buckle] symmetric binary tree

Talking about several solutions of cross domain
![Open source online markdown editor -- [editor.md]](/img/f3/b37acf934aa2526d99c8f585b6f229.png)
Open source online markdown editor -- [editor.md]

2022/07/10 group 5 Ding Shuai's study notes day03

2022/07/12 学习笔记 (day05)循环

实验二 类与对象定义初始化

Positional change of the eyeball during eye movements: evidence of translational movement

2021-11-26 pyautogui cooperates with lightning simulator to realize the automation of mobile app check-in and answer questions
![[force buckle] realize queue with stack](/img/cb/7c4d01cab50b8027b8a4d67509b7dd.png)
[force buckle] realize queue with stack
随机推荐
Visual saliency based visual gaze estimation
Learning video saliency from human gaze using candidate selection
开源在线的MarkDown编辑器 --【Editor.md】
Perceive the attention status of users on smart phones
Using VOR depth estimation to solve the problem of target ambiguity in three-dimensional gaze interaction
自下而上和自上而下的注意力:不同的过程和重叠的神经系统 2014sci
Busybox 1.21.1 has udpsvd function, which can be compiled successfully without interfering with the local busybox method
【力扣】二叉树的最大深度
Where have all the older programmers gone?
Daily eye contact detection uses unsupervised gaze target detection
What kind of deep learning is most suitable for your enterprise?
WebService接口的创建与实现
2022/07/11 第五小组 丁帅 学习笔记 day04
实习笔试解答
无80和443端口下申请域名SSL证书(适用于 acme.sh 和 certbot)
SeaChest Utilities 工具,让你的硬盘功耗又低又长寿
Perception de l’état d’attention des utilisateurs sur les smartphones
【力扣】相同的树
2022/07/12 learning notes (day05) JS built-in functions
Convert PNG with transparency to C array