使用postman操作ElasticSearch

下载安装好postman之后  

添加索引blog1(因为ElasticSearch是restful请求所以我们用postman发送http请求给ElasticSearch)

使用postman操作ElasticSearch_第1张图片

{
    "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_第2张图片

你可能感兴趣的:(ElasticSearch,Postman)