daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DELETE cannot_add_dynamic_template
  2.  
  3. GET cannot_add_dynamic_template/_mapping
  4.  
  5. PUT cannot_add_dynamic_template
  6. {
  7.   "mappings": {
  8.     "my_type": {
  9.       "dynamic_templates": [
  10.         {
  11.           "template_aaa": {
  12.             "match": "*_aaa",
  13.             "mapping": {
  14.               "type": "text"
  15.             }
  16.           }  
  17.         }
  18.       ]
  19.     }
  20.   }
  21. }
  22.  
  23. GET cannot_add_dynamic_template/_mapping
  24.  
  25. PUT cannot_add_dynamic_template/_mapping/my_type
  26. {
  27.       "dynamic_templates": [
  28.         {
  29.           "template_bbb": {
  30.             "match": "*_bbb",
  31.             "mapping": {
  32.               "type": "text"
  33.             }
  34.           }  
  35.         }
  36.       ]
  37. }
  38.  
  39. GET cannot_add_dynamic_template/_mapping
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top