1、brew update
brew install elasticsearch
2、brew install elasticsearch-header
3、在命令中输入 elasticsearch
4、浏览器输入
127.0.0.1:9200

5、put内容
内容如下
{
"title": 'Tony Stark',
"content": 'Tony Stark is Ironman Hero. He is handsome and stronger!'
"tag":["hero","marvrl"]
}
6、查询内容

