title: Can't deal with accents in Elasticsearch indexing and search
body: <p>I have an issue with elasticsearch and the way the data are indexed/retrieved. I don't understand what happens.</p>
  
  <p>This is the mapping I use (sorry, it's yaml format) :
  The idea is simple, in theory... I have a string analyzer with lowercase and asciifolding filters. I don't want to care about case or accents, and I would like to use this analyzer to index and search.</p>
  
  <pre><code>settings:
      index:
          analysis:
              filter:
                  autocomplete_filter:
                      type: edgeNGram
                      side: front
                      min_gram: 1
                      max_gram: 20
              analyzer:
                  autocomplete:
                      type: custom
                      tokenizer: standard
                      filter: [lowercase, asciifolding, autocomplete_filter]
                  string_analyzer:
                      type:        custom
                      tokenizer:   standard
                      filter:      [lowercase, asciifolding]
  types:
      city:
          mappings:
              cityName:
                  type: string
                  analyzer: string_analyzer
                  search_analyzer: string_analyzer
              location: {type: geo_point}
  </code></pre>
  
  <p>When I run this query : </p>
  
  <pre><code>{
      "query": {
          "prefix":{
              "cityName":"per"
          }
      }
      ,
      "size":20
  }
  </code></pre>
  
  <p>I get some results like "Perpezat", "Pern", "Péreuil" which is the excepted result.</p>
  
  <p>But if I run the following query :</p>
  
  <pre><code>{
      "query": {
          "prefix":{
              "cityName":"pér"
          }
      }
      ,
      "size":20
  }
  </code></pre>
  
  <p>Then I get no result at all.</p>
  
  <p>If you have any clue or help, I would be happy to know it.
  Thanks</p>