Do we need to increase number of nodes?
Here is mapping.
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"similarity": {
"default": {
"type": "BM25",
"k1": "0.4",
"b": "0.1"
}
},
"analysis": {
"char_filter": {
"delete_sp_char_filter": {
"type": "pattern_replace",
"pattern": "[^ㄱ-ㅎ가-힇A-Za-z0-9]",
"replacement": ""
}
},
"filter": {
"filter_shingle": {
"max_shingle_size": "2",
"min_shingle_size": "2",
"output_unigrams": "false",
"type": "shingle"
},
"synonym": {
"type": "synonym",
"synonyms": [ ... ]
}
},
"analyzer": {
"platform_nori_shingle_analyzer": {
"filter": [
"lowercase",
"filter_shingle"
],
"type": "custom",
"tokenizer": "none_nori_tokenizer"
},
"platform_nori_mixed_analyzer": {
"filter": [
"lowercase"
],
"type": "custom",
"tokenizer": "mixed_nori_tokenizer"
},
"platform_nori_discard_analyzer": {
"filter": [
"lowercase",
"synonym"
],
"type": "custom",
"tokenizer": "discard_nori_tokenizer"
},
"platform_nori_none_analyzer": {
"filter": [
"lowercase",
"synonym"
],
"type": "custom",
"tokenizer": "none_nori_tokenizer"
},
"platform_nori_keyword_analyzer": {
"char_filter": ["delete_sp_char_filter"],
"filter": ["lowercase"],
"type": "custom",
"tokenizer": "standard"
}
},
"tokenizer": {
"discard_nori_tokenizer": {
"type": "nori_tokenizer",
"decompound_mode": "discard",
"user_dictionary_rules":[ ... ]
},
"mixed_nori_tokenizer": {
"type": "nori_tokenizer",
"decompound_mode": "mixed",
"user_dictionary_rules": [ ... ]
},
"none_nori_tokenizer": {
"type": "nori_tokenizer",
"decompound_mode": "none",
"user_dictionary_rules": [ ... ]
},
"mixed_nori_tokenizer_no_dict": {
"type": "nori_tokenizer",
"decompound_mode": "mixed"
},
"none_nori_tokenizer_no_dict": {
"type": "nori_tokenizer",
"decompound_mode": "none"
},
"discard_nori_tokenizer_no_dict": {
"type": "nori_tokenizer",
"decompound_mode": "discard"
}
}
}
},
"mappings": {
"properties": {
"search_field": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer"
},
"f1": {
"type": "keyword"
},
"f2": {
"type": "keyword"
},
"f3": {
"type": "keyword"
},
"f4": {
"type": "keyword"
},
"f5": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f6": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f7": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f2_m_code_nm": {
"type": "text",
"fields": {
"keyword": {
"type": "text",
"analyzer": "platform_nori_keyword_analyzer"
},
"term": {
"type": "keyword"
}
},
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f8": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f9": {
"type": "text",
"fields": {
"keyword": {
"type": "text",
"analyzer": "platform_nori_keyword_analyzer"
},
"term": {
"type": "keyword"
}
},
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f10": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f11": {
"type": "text",
"fields": {
"keyword": {
"type": "text",
"analyzer": "platform_nori_keyword_analyzer"
},
"shingle": {
"type": "text",
"analyzer": "platform_nori_shingle_analyzer"
}
},
"analyzer": "platform_nori_mixed_analyzer"
},
"f12": {
"type": "text",
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f13": {
"type": "text",
"fields": {
"keyword": {
"type": "text",
"analyzer": "platform_nori_keyword_analyzer"
}
},
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f14": {
"type": "keyword"
},
"f15": {
"type": "keyword"
},
"f16": {
"type": "keyword"
},
"f17": {
"type": "keyword"
},
"f18": {
"type": "keyword"
},
"f19": {
"type": "keyword"
},
"f20": {
"type": "keyword"
},
"f21": {
"type": "keyword"
},
"f23": {
"type": "keyword"
},
"f24": {
"type": "long"
},
"f25": {
"type": "keyword"
},
"f26": {
"type": "text",
"fields": {
"keyword": {
"type": "text",
"analyzer": "platform_nori_keyword_analyzer"
}
},
"analyzer": "platform_nori_mixed_analyzer",
"copy_to": "search_field"
},
"f27": {
"type": "keyword"
},
"f28": {
"type": "boolean"
},
"f29": {
"type": "keyword"
}
}
}
}