# 添加mapping:
url -X POST 'http://127.0.0.1:9200/indexName/typeName/_mapping?pretty' -d '{
"typeName": {
"properties": {
"number": {
"type": "string",
"index": "not_analyzed"
}
}
}
}'
# reindex
curl -XPOST "http://127.0.0.1:9200/_reindex/" -d '{
"source": {
"index": "one",
"type":"xx"
},
"dest": {
"index": "two",
"type":"detail_bill_vsim"
}
}'