title: ignore accents in elastic search with haystack
body: <p>I am using elasticsearch along with haystack in order to provide search. I want user to search in language other than english. E.g. currently trying with Greek.</p>
  
  <p>How can I ignore the accents while searching for anything. E.g. let's say if I enter Ανδρέας ( with accents), its returning results matched with it.</p>
  
  <p>But when I enter Ανδρεας, its not returning any results. The search engine should bring any results that have "Ανδρέας" but also "Ανδρεας" as well (the second one is not accented).</p>
  
  <p>Can someone point out how to resolve the issue?</p>
  
  <p>Please let me know if I need post settings for elastic search, search_indexex, etc.</p>
  
  <p><em>EDIT:</em></p>
  
  <p>Here's my index settings:</p>
  
  <pre><code>ELASTICSEARCH_INDEX_SETTINGS = {
       'settings': {
           "analysis": {
               "analyzer": {
                   "myanalyzer_search": {
                       "type": "custom",
                       "tokenizer": "standard",
                       "filter": [
                           "greek_lowercase_filter",
                           "my_stop_filter",
                           "greek_stem_filter",
                           "english_stem_filter",
                           "my_edge_ngram_filter",
                           "asciifolding"
                       ]
                   },
                   "myanalyzer_index": {
                       "type": "custom",
                       "tokenizer": "edgeNGram",
                       "filter": [
                           "greek_lowercase_filter",
                           "my_stop_filter",
                           "greek_stem_filter",
                           "english_stem_filter",
                           "my_edge_ngram_filter",
                           "asciifolding"
                       ]
                   },
               },
               "tokenizer": {
                   "my_edge_ngram_tokenizer": {
                       "type": "edgeNGram",
                       "min_gram": "2",
                       "max_gram": "18",
                       "token_chars": ["letter"]
                   }
               },
               "filter": {
                   "my_edge_ngram_filter": {
                       "type": "edgeNGram",
                       "min_gram": 3,
                       "max_gram": 18
                   },
                   "greek_stem_filter": {
                       "type": "stemmer",
                       "name": "greek"
                   },
                   "greek_lowercase_filter": {
                       "type": "lowercase",
                       "language": "greek"
                   },
                   "english_stem_filter": {
                       "type": "stemmer",
                       "name": "english"
                   },
                   "my_stop_filter": {
                       "type": "stop",
                       "stopwords": ["_greek_", "_english_"]
                   }
               }
           }
       }
  }
  </code></pre>
  
  <p>This is present into <code>search_index.py</code>:</p>
  
  <pre><code>class ProfileIndex(indexes.SearchIndex, indexes.Indexable):
      text = indexes.EdgeNgramField(document=True, use_template=True)
      title = indexes.CharField(model_attr='title')
      sorted_title = indexes.CharField(model_attr='title', indexed=False, stored=True)
      employment_history = indexes.EdgeNgramField(model_attr='employment_history', null=True)
  
      def get_model(self):
          return SellerProfile
  
      def index_queryset(self, using=None):
          return self.get_model().objects.all()
  
  
     .........
  </code></pre>
  
  <p>And here's the template:</p>
  
  <pre><code>{{ object.user.get_full_name }}
  {{ object.title }}
  {{ object.bio }}
  {{ object.employment_history }}
  {{ object.education }}
  </code></pre>
  
  <p>I am doing query like following:</p>
  
  <pre><code>results = SearchQuerySet().model(Profile).autocomplete(text='Ανδρεας')
  </code></pre>
  
  <p>and</p>
  
  <pre><code>results = SearchQuerySet().model(Profile).autocomplete(text='Ανδρέας')
  </code></pre>
  
  <p>Thanks.</p>