Calling tokenizers from script - ingest processor


#1

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.


(Adrien Grand) #2

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.


#3

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


(system) #4

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