Na początku napiszę że jestem zielony z elastica. Mam poniższą mapę gdzieś na produkcji , chciałbym ją odtworzyć na localu wraz z danymi. Jak mam to zrobić?
{
"test": {
"mappings": {
"test1": {
"_all": { "enabled": false },
"properties": {
"cat": { "store": true, "type": "long" },
"curr": { "index": "not_analyzed", "store": true, "type": "string" },
"end_date": { "store": true, "type": "long" },
"price": { "store": true, "type": "long" },
"start_date": { "store": true, "type": "long" },
"tcat": { "store": true, "type": "long" },
"title": { "store": true, "type": "string" },
"uid": { "store": true, "type": "long" }
}
},
"test2": {
"_all": { "enabled": false },
"properties": {
"buyer": { "store": true, "type": "long" },
"cat": { "store": true, "type": "long" },
"comment_text": { "store": true, "type": "string" },
"comment_type": { "store": true, "type": "long" },
"item": { "store": true, "type": "long" },
"price": { "store": true, "type": "long" },
"seller": { "store": true, "type": "long" },
"title": { "store": true, "type": "string" },
"tree_cat": { "store": true, "type": "long" },
"ts": { "store": true, "type": "long" }
}
}
}
}
}