大家好,又见面了,我是全栈君。
在 curl 后加入 -H “Content-Type: application/json;charset=UTF-8”
在postman heder 头中,
创建索引库:
1)使用postman或curl这样的工具创建: put http://localhost:9200/索引库名称
{
"settings":{
"index":{
"number_of_shards":1,
"number_of_replicas":0
}
}
}
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/111475.html原文链接:https://javaforall.cn