Asciifolding analyzer doesn't seem to be working

Hi All,
I am trying to setup asciifolding so a word like séance will appear when someone types in seance. In my mapping I have

$mapping->search_as_you_type('name', ['analyzer' => 'standard_asciifolding']);
            $mapping->keyword('email');
            $mapping->integer('rank');
            $settings->analysis([
                'analyzer' => [
                    'standard_asciifolding' => [
                        'type' => 'custom',
                        'tokenizer' => 'standard',
                        'filter' => [ 'asciifolding' ]   
                    ]
                ]
            ]);

when I am in kibana->dev and do a match all query on the index I can see in the returned list

{
        "_index": "organizers",
        "_id": "4",
        "_score": 1,
        "_source": {
          "name": "Séance Media",
          "email": "test@test.com",
          "priority": 3
        }
      },

which leads me to think that the asciifolding analyzer didn't work. However if I do curl -XGET 'http://localhost:9200/organizers/_settings' it returns

{"organizers":{"settings":{"index":{"routing":{"allocation":{"include":{"_tier_preference":"data_content"}}},"number_of_shards":"1","provided_name":"organizers","creation_date":"1662498230288","analysis":{"analyzer":{"standard_asciifolding":{"filter":["asciifolding"],"type":"custom","tokenizer":"standard"}}},"number_of_replicas":"1","uuid":"NSYGKPu-Se-l1SvwaNjaKg","version":{"created":"8040199"}}}}

Am I doing something wrong?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.