title: Exclude certain fields from search - Elasticsearch
body: <p>I have indexed documents with each over 100 field each analysed using Edge gram tokenizer to support Auto-Suggestion.  I do require free text search that searches on all fields. When i am trying to do so, search is also happening fields with auto complete analyzed(ex. Data.autocomplete_analyzed). I have to restrict this by searching only fields analysed with type "text"(ex. Data). Is there a method to do so  in 1. Index time 2. Query time. 
  Mapping file:</p>
  
  <pre><code>    "mappings": {
                  "_doc": {
                      "properties": {
                          "Data": {
                              "type": "text",
                              "fields": {
                                  "autocomplete_analyzed": {
                                      "type": "text",
                                      "analyzer": "autocomplete"
                                  },
                                  "keyword": {
                                      "type": "keyword",
                                      "ignore_above": 256
                                  }
                              }
                          }
                  } 
                 }
  </code></pre>
  
  <p>Search query : </p>
  
  <pre><code> {
  "query": {
      "bool": {
        "should": [
          {
            "multi_match": {
              "query": "aim",
              "type": "phrase",
              "slop": "2",
              "fields": []
            }
          },
          {
            "multi_match": {
              "query": "aim",
              "fuzziness": "1",
              "fields": []
            }
          }
        ],
        "minimum_should_match": 1 
  }
  </code></pre>