# Calling tokenizers from script - ingest processor

**URL:** <https://discuss.elastic.co/t/calling-tokenizers-from-script-ingest-processor/67168>\
**Category:** Elasticsearch\
**Created:** [November 25, 2016, 9:13am UTC](https://discuss.elastic.co/t/calling-tokenizers-from-script-ingest-processor/67168 "2016-11-25T09:13:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crutch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/crutch/32/414_2.png) [@crutch](https://discuss.elastic.co/u/crutch)\
**Post date:** [November 25, 2016, 9:13am UTC](https://discuss.elastic.co/t/calling-tokenizers-from-script-ingest-processor/67168/1 "2016-11-25T09:13:39Z")

</div>

Hi everybody,

I would like to create an ingestion pipeline (or reindex-with-script task) which lowercases and asciifolds a string field in the doc. I've found a lowercase processor, but did not find any way of calling a ASCII-folding or ICU-folding token filters. However, there is a script processor, so I was wondering whether there is a way of calling a token filter from within such script.

Thanks for any suggestions.

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [November 25, 2016, 9:53am UTC](https://discuss.elastic.co/t/calling-tokenizers-from-script-ingest-processor/67168/2 "2016-11-25T09:53:58Z")

</div>

I don't think there is a way to do it today. On a related note, there is this feature request that aims at making it possible to configure analyzers on keyword fields [https://github.com/elastic/elasticsearch/issues/18064](https://github.com/elastic/elasticsearch/issues/18064).

---

<div class="post-metadata">

**Author:** ![crutch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/crutch/32/414_2.png) [@crutch](https://discuss.elastic.co/u/crutch)\
**Post date:** [November 25, 2016, 10:00am UTC](https://discuss.elastic.co/t/calling-tokenizers-from-script-ingest-processor/67168/3 "2016-11-25T10:00:06Z")

</div>

Thanks @jpountz. I am already following that #18064, but was hoping to find a way around it 🙂

---

<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:** [December 23, 2016, 10:00am UTC](https://discuss.elastic.co/t/calling-tokenizers-from-script-ingest-processor/67168/4 "2016-12-23T10:00:28Z")

</div>

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