# Asciifolding analyzer doesn't seem to be working

**URL:** <https://discuss.elastic.co/t/asciifolding-analyzer-doesnt-seem-to-be-working/313830>\
**Category:** Elasticsearch\
**Created:** [September 6, 2022, 9:17pm UTC](https://discuss.elastic.co/t/asciifolding-analyzer-doesnt-seem-to-be-working/313830 "2022-09-06T21:17:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Grim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_grim/32/81270_2.png) [@Chris\_Grim](https://discuss.elastic.co/u/Chris_Grim)\
**Post date:** [September 6, 2022, 9:17pm UTC](https://discuss.elastic.co/t/asciifolding-analyzer-doesnt-seem-to-be-working/313830/1 "2022-09-06T21:17:56Z")

</div>

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

```auto
$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

```auto
{
        "_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](http://localhost:9200/organizers/_settings)' it returns

```auto
{"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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 4, 2022, 9:18pm UTC](https://discuss.elastic.co/t/asciifolding-analyzer-doesnt-seem-to-be-working/313830/2 "2022-10-04T21:18:02Z")

</div>

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