title: Any suggestions to customize an analyzer when using query match with elasticsearch-py?
body: <p>I can't apply a custom analyzer when using query match with elasticsearch-py.</p>
  
  <p>I customized an analyzer called <code>custom_lowercase_stemmed</code> and used <code>es.indices.put_settings</code> to update the index setting. </p>
  
  <p>However, it couldn't find the analyzer when I do a search. </p>
  
  <p>I also looked into the parameter <code>analyzer</code> in <code>es.search</code>, but it returns an error:</p>
  
  <blockquote>
    <p>..unrecognized parameter: [analyzer]</p>
  </blockquote>
  
  <p>Can I get any suggestions here in terms of a customized analyzer? Thank you!</p>
  
  <pre><code>query_body = {
       "query": {
           "match": {
              "employer":{
                  "query": txt,
                  "fuzziness": 'AUTO',
                  "analyzer" : 'custom_lowercase_stemmed'
              }
          }
      }
  }
  es.search(index='hello',body=query_body)
  </code></pre>
  
  <p>Here is the full error:</p>
  
  <pre><code>RequestError: RequestError(400, 'search_phase_execution_exception', '[match] analyzer [custom_lowercase_stemmed] not found')
  </code></pre>