title: Creating analyzed and not_analyzed index on all fields in Elasticsearch
body: <p>Im pretty new to Elasticsearch. I have a requirement of creating ALL string fields with an "analyzed" and "not_analyzed" index. I have been able to do it for 1 or 2 fields, but how can I do this if I have 50 fields in my document? I have used the following code to create such an index on a few fields:</p>
  
  <pre><code>mapping = {
      "my_type": {
          "properties": {
              "random_num": {"type": "string"},
              "category": { "type":"multi_field", "fields":{ "category":{ "type":"string", "index":"analyzed" },"untouched":{ "type":"string", "index":"not_analyzed" } } },
              "url": {"type": "string"},
              "id": {"type": "string"},
              "desc": { "type":"multi_field", "fields":{ "desc":{ "type":"string", "index":"analyzed" },"untouched":{ "type":"string", "index":"not_analyzed" } } }
          }
      }
  }
  </code></pre>
  
  <p>I would really appreciate it if some one could help me out with this. Thanks!</p>