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ć?

  1.  
  2.  
  3. {
  4. "test": {
  5. "mappings": {
  6. "test1": {
  7. "_all": { "enabled": false },
  8. "properties": {
  9. "cat": { "store": true, "type": "long" },
  10. "curr": { "index": "not_analyzed", "store": true, "type": "string" },
  11. "end_date": { "store": true, "type": "long" },
  12. "price": { "store": true, "type": "long" },
  13. "start_date": { "store": true, "type": "long" },
  14. "tcat": { "store": true, "type": "long" },
  15. "title": { "store": true, "type": "string" },
  16. "uid": { "store": true, "type": "long" }
  17. }
  18. },
  19. "test2": {
  20. "_all": { "enabled": false },
  21. "properties": {
  22. "buyer": { "store": true, "type": "long" },
  23. "cat": { "store": true, "type": "long" },
  24. "comment_text": { "store": true, "type": "string" },
  25. "comment_type": { "store": true, "type": "long" },
  26. "item": { "store": true, "type": "long" },
  27. "price": { "store": true, "type": "long" },
  28. "seller": { "store": true, "type": "long" },
  29. "title": { "store": true, "type": "string" },
  30. "tree_cat": { "store": true, "type": "long" },
  31. "ts": { "store": true, "type": "long" }
  32. }
  33. }
  34. }
  35. }
  36. }
  37.