Thank you @klof for your answer.
The thing is, I am using elasticpress Wordpress plugin which has the settings/mappings part preset when i start the indexing process. I tried to "hack" the plugin, but it still does not work with "nestle".
I'm adding part of the mappings file from the plugin so you can see what i have added
(see line 8 in analyzer=>default=>filter and further down in "filter" where i put my custom asciifolder filter)
have i done something wrong?
'settings' => array(
'index.mapping.total_fields.limit' => apply_filters( 'ep_total_field_limit', 5000 ),
'index.max_result_window' => apply_filters( 'ep_max_result_window', 1000000 ),
'analysis' => array(
'analyzer' => array(
'default' => array(
'tokenizer' => 'standard',
'filter' => array( 'standard', 'ewp_word_delimiter', 'lowercase', 'stop', 'ewp_snowball', 'my_ascii_folding' ),
'char_filter' => array( 'html_strip' ),
'language' => apply_filters( 'ep_analyzer_language', 'english', 'analyzer_default' ),
),
'shingle_analyzer' => array(
'type' => 'custom',
'tokenizer' => 'standard',
'filter' => array( 'lowercase', 'shingle_filter' ),
),
'ewp_lowercase' => array(
'type' => 'custom',
'tokenizer' => 'keyword',
'filter' => array( 'lowercase' ),
),
),
'filter' => array(
'my_ascii_folding' => array(
"type" => "asciifolding",
"preserve_original" => true,
),
'shingle_filter' => array(
'type' => 'shingle',
'min_shingle_size' => 2,
'max_shingle_size' => 5,
),
'ewp_word_delimiter' => array(
'type' => 'word_delimiter',
'preserve_original' => true,
),
'ewp_snowball' => array(
'type' => 'snowball',
'language' => apply_filters( 'ep_analyzer_language', 'english', 'filter_ewp_snowball' ),
),
'edge_ngram' => array(
'side' => 'front',
'max_gram' => 10,
'min_gram' => 3,
'type' => 'edgeNGram',
),
),
'normalizer' => array(
'lowerasciinormalizer' => array(
'type' => 'custom',
'filter' => array( 'lowercase', 'asciifolding' ),
),
),
),
),
[ ... ]