# Asciifolding doesn't exist anymore in 6.0.x?

**URL:** <https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119>\
**Category:** Elasticsearch\
**Created:** [December 11, 2017, 2:45pm UTC](https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119 "2017-12-11T14:45:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![obruchez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/obruchez/32/25316_2.png) [@obruchez](https://discuss.elastic.co/u/obruchez)\
**Post date:** [December 11, 2017, 2:45pm UTC](https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119/1 "2017-12-11T14:45:19Z")

</div>

I was using a custom analyzer with two filters: lowercase + asciifolding.

It doesn't work anymore in 6.0.0 and 6.0.1.

The easiest way to reproduce the problem:

```
POST /_analyze
{
  "tokenizer": "standard",
  "filter": ["lowercase", "asciifolding"],
  "text": "Is this déja vu?"
}

```

Result:

```
{
    "error": {
        "root_cause": [
            {
                "type": "remote_transport_exception",
                "reason": "[pyJpaTt][127.0.0.1:9300][indices:admin/analyze[s]]"
            }
        ],
        "type": "illegal_argument_exception",
        "reason": "failed to find global token filter under [asciifolding]"
    },
    "status": 400
}

```

If I remove the asciifolding filter:

```
{
    "tokens": [
        {
            "token": "is",
            "start_offset": 0,
            "end_offset": 2,
            "type": "<ALPHANUM>",
            "position": 0
        },
        {
            "token": "this",
            "start_offset": 3,
            "end_offset": 7,
            "type": "<ALPHANUM>",
            "position": 1
        },
        {
            "token": "déja",
            "start_offset": 8,
            "end_offset": 12,
            "type": "<ALPHANUM>",
            "position": 2
        },
        {
            "token": "vu",
            "start_offset": 13,
            "end_offset": 15,
            "type": "<ALPHANUM>",
            "position": 3
        }
    ]
}

```

Has asciifolding been removed? Is it available via a plugin? Should I use something else?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 11, 2017, 3:01pm UTC](https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119/2 "2017-12-11T15:01:10Z")

</div>

Any chance you are not starting elasticsearch with `bin/elasticsearch` but by another method?

---

<div class="post-metadata">

**Author:** ![obruchez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/obruchez/32/25316_2.png) [@obruchez](https://discuss.elastic.co/u/obruchez)\
**Post date:** [December 11, 2017, 3:30pm UTC](https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119/3 "2017-12-11T15:30:18Z")

</div>

Yes, as a local node from a Java/Scala application. I guess it's not supported anymore, right?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 11, 2017, 3:41pm UTC](https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119/4 "2017-12-11T15:41:52Z")

</div>

Running embedded is not supported indeed.

See also:

> <https://github.com/elastic/elasticsearch/issues/27527>

---

<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:** [January 8, 2018, 3:42pm UTC](https://discuss.elastic.co/t/asciifolding-doesnt-exist-anymore-in-6-0-x/111119/5 "2018-01-08T15:42:14Z")

</div>

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