elasticsearch技术解析与实战(一) 入门和索引
2024-10-18 19:28:33
GET _cat/nodes
GET _cat/health
GET _cat/shards GET http://10.37.84.124:9200/secisland?pretty
{
"settings":{
"number_of_shards":5,
"number_of_replicas":1
}
} GET http://10.37.84.124:9200/_cat/indices?v&index=secisland PUT secisland/secilog/1/
{
"computer":"secisland",
"message":"secisland is an security company"
} GET secisland/secilog/1/ DELETE secisland/secilog/1 DELETE secisland/ GET secisland/
返回:
{
"secisland": {
"aliases": {},
"mappings": {
"secilog": {
"properties": {
"computer": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
},
"settings": {
"index": {
"creation_date": "1527232104844",
"uuid": "B70OmuX6QZijhIIenubl1Q",
"number_of_replicas": "1",
"number_of_shards": "5",
"version": {
"created": "2030599"
}
}
},
"warmers": {}
}
} GET secisland/_settings
GET secisland/_mapping POST /secisland/_open
POST /secisland/_close
最新文章
- 关于用display:table让元素居中的小结
- 零成本实现Web性能测试:基于Apache JMeter
- VB模拟键盘输入的N种方法
- Objective-C学习笔记-第一天(1)
- Spring day04笔记(SVN讲解和回顾昨天知识)
- 使用jquery的trigger方法优化页面代码
- Javascript 严格模式详解(转)
- FZU 2028 时空门问题
- 写出bool,int,float,指针与零值比较的if语句
- Winform合并多个Excel文件到一个文件中(源文件.xls,实际是.xml)
- hdu 5305Friends
- UIScrollView 代理方法
- Linux红黑树(二)——访问节点
- 初学者cocos2dx 写2048 为了和大家一起分享
- 关于Android开发中导出jar包后的资源使用问题解决
- Ubuntu安装Nginx+PHP7.0.4+MySQL5.6
- 开关调色新世界BP2888电源解决方案
- .Net Core使用Redis的一个入门简单Demo
- May 24. 2018 Week 21st Thursday
- P1705 爱与愁过火(背包)