foldDiacritics not working

Hi, I’m trying to get an autocomplete search with foldDiacritics set to true, but I can’t make it work. Here is my index:

  "mappings": {
    "dynamic": false,
    "fields": {
      "name": {
        "foldDiacritics": true,
        "maxGrams": 7,
        "minGrams": 3,
        "tokenization": "edgeGram",
        "type": "autocomplete"

When ‘Bérézina’ is typed, the name is found, but it doesn’t work with ‘Berezina’. A workaround is to include a fuzzy field, but it’s not ideal. Am I missing something here ?

1 Like

It seems to be a bug. foldDiacritics: true doesn’t work with french accents. For example, an autocomplete request starting with ‘e’ will not return a document starting with ‘é’. Where should I report this bug ?

Could you share your index definition and a sample document so I can work to reproduce it?

We released more support for analysis with autocomplete. You should check out the updated autocomplete feature.