When I use curl to create mapping for index, curl will hang there, there will not be any corresponding, and will not stop operation.
elasticsearch version:5.6.3 or 5.6.2
os: ubuntu 16.04 and centos 7
This is not the case when I use version 5.3.3 ,please help me.
php script curl extension and post method . indices like is
"settings": {
"number_of_shards": 5,
"number_of_replicas": 0,
"analysis": {
"analyzer": {
"default": {
"type": "custom",
"tokenizer": "ik_max_word",
"filter": [
"stemmer"
]
}
}
}
},
"data": {
"mappings": {
"folder": {
"properties": {
"id": {
"type": "integer",
"store": false
},
"name": {
"type": "keyword",
"index": "analyzed",
"similarity": "BM25",
"analyzer": "default",
"search_analyzer": "default",
"store": false
},
"type": {
"type": "integer",
"index": "no",
"store": false
},
"owner": {
"type": "keyword",
"index": "analyzed",
"similarity": "BM25",
"analyzer": "default",
"search_analyzer": "default",
"store": false
},
"path": {
"type": "keyword",
"index": "analyzed",
"similarity": "BM25",
"analyzer": "default",
"search_analyzer": "default",
"store": false
}
}
}
}
}
}