Calling tokenizers from script - ingest processor

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.

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.

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

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