使用postman操作ElasticSearch
下載安裝好postman之后??
添加索引blog1(因為ElasticSearch是restful請求所以我們用postman發送http請求給ElasticSearch)
{
?? ?"mappings":{
?? ??? ?"article":{
?? ??? ??? ?"properties":{
?? ??? ??? ??? ?"id":{
?? ??? ??? ??? ??? ?"type":"long",
?? ??? ??? ??? ??? ?"store":"true",
?? ??? ??? ??? ??? ?"index":"true"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?"title":{
?? ??? ??? ??? ??? ?"type":"text",
?? ??? ??? ??? ??? ?"store":"true",
?? ??? ??? ??? ??? ?"index":"true",
?? ??? ??? ??? ??? ?"analyzer":"standard"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?"context":{
?? ??? ??? ??? ??? ?"type":"text",
?? ??? ??? ??? ??? ?"store":"true",
?? ??? ??? ??? ??? ?"index":"true",
?? ??? ??? ??? ??? ?"analyzer":"standard"
?? ??? ??? ??? ?}
?? ??? ??? ?}
?? ??? ?}
?? ?}
?? ?
}
響應成功
總結
以上是生活随笔為你收集整理的使用postman操作ElasticSearch的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: hdu1272(简单并查集)
- 下一篇: zcmu2138