项目结构:
curl -X PUT http://localhost:9200/weibo #新建一个index
curl -XPUT http://localhost:9200/weibo/_mapping/news -H 'Content-Type: application/json' -d' { "properties": { "summary": { "type": "text", "analyzer": "ik_smart" }, "title": { "type": "text", "analyzer": "ik_smart" } } }'
下载地址:微信扫一扫,关注下方【毕业设计组织】公众号,请回复数字”6500“获取下载链接
