Commit c1c9af24 authored by Pablo Panero's avatar Pablo Panero
Browse files

mappings[webservices][skip ci]: Add normalizer to promoted keywords to enable...

mappings[webservices][skip ci]: Add normalizer to promoted keywords to enable case in-sensitive ~exact match search
parent daa9666f
......@@ -15,6 +15,13 @@
"tokenizer": "url_tokenizer",
"stopwords": ["http", "https", "ftp", "www", "web", "cern", "ch"]
}
},
"normalizer": {
"case_insensitive_normalizer": {
"type": "custom",
"char_filter": [],
"filter": ["lowercase", "asciifolding"]
}
}
}
},
......@@ -139,7 +146,8 @@
"type": "boolean"
},
"promoted_keywords": {
"type": "keyword"
"type": "keyword",
"normalizer": "case_insensitive_normalizer"
},
"collection": {
"type": "keyword",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment