Skip to content

Instantly share code, notes, and snippets.

@lukeforehand
Created August 18, 2011 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukeforehand/1154470 to your computer and use it in GitHub Desktop.
Save lukeforehand/1154470 to your computer and use it in GitHub Desktop.
cat /etc/elasticsearch/mappings/_default/default.json
{
   "default" : {
       "dynamic_templates" : [
           {
               "template_1" : {
                   "match" : "*",
                   "match_mapping_type" : "string",
                   "mapping" : {
                       "type" : "string",
                       "index" : "not_analyzed",
                       "omit_norms" : "false",
                       "include_in_all" : "false"
                   }
               }
           }
       ]
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment