From 4c55b58fdcba19f2aab42635dafa4438b4ddd5f8 Mon Sep 17 00:00:00 2001 From: inikulin Date: Mon, 21 Jul 2025 12:50:49 +0000 Subject: [PATCH] Edit index_configmap.yaml --- elasticsearch/templates/index_configmap.yaml | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/elasticsearch/templates/index_configmap.yaml b/elasticsearch/templates/index_configmap.yaml index 03b1f35..f1f7d0f 100644 --- a/elasticsearch/templates/index_configmap.yaml +++ b/elasticsearch/templates/index_configmap.yaml @@ -251,6 +251,39 @@ data: "index_options": "offsets", "term_vector": "with_positions_offsets" }, + "first_name": { + "type": "keyword", + "normalizer": "lowercase_normalizer" + }, + "last_name": { + "type": "keyword", + "normalizer": "lowercase_normalizer" + }, + "middle_name": { + "type": "keyword", + "normalizer": "lowercase_normalizer" + }, + "first_name_ngram": { + "type": "text", + "analyzer": "ngram_analyzer", + "search_analyzer": "ngram_analyzer", + "index_options": "offsets", + "term_vector": "with_positions_offsets" + }, + "last_name_ngram": { + "type": "text", + "analyzer": "ngram_analyzer", + "search_analyzer": "ngram_analyzer", + "index_options": "offsets", + "term_vector": "with_positions_offsets" + }, + "middle_name_ngram": { + "type": "text", + "analyzer": "ngram_analyzer", + "search_analyzer": "ngram_analyzer", + "index_options": "offsets", + "term_vector": "with_positions_offsets" + }, "_class": { "type": "text", "fields": {