127 lines
2.7 KiB
JSON
127 lines
2.7 KiB
JSON
{
|
|
"index": {
|
|
"name": "ai_nlp_word",
|
|
"aliases": [],
|
|
"index_key": "aiword"
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"is_correct": {
|
|
"type": "keyword"
|
|
},
|
|
"nearest_correct_word": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"stem": {
|
|
"type": "keyword"
|
|
},
|
|
"origin": {
|
|
"type": "keyword"
|
|
},
|
|
"word_classes": {
|
|
"type": "keyword"
|
|
},
|
|
"word_tags": {
|
|
"type": "keyword"
|
|
},
|
|
"is_proper_noun": {
|
|
"type": "keyword"
|
|
},
|
|
"ner_description": {
|
|
"type": "text"
|
|
},
|
|
"llm_description": {
|
|
"type": "text"
|
|
},
|
|
"user_description": {
|
|
"type": "text"
|
|
},
|
|
"admin_description": {
|
|
"type": "text"
|
|
},
|
|
"confidence": {
|
|
"type": "float"
|
|
},
|
|
"ref_key": {
|
|
"type": "keyword"
|
|
},
|
|
|
|
"language_key": {
|
|
"type": "keyword"
|
|
},
|
|
"domain_tags": {
|
|
"type": "keyword"
|
|
},
|
|
"time_create": {
|
|
"type": "date"
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
}
|
|
},
|
|
"validation": {
|
|
"required": [
|
|
"title"
|
|
],
|
|
"default_value":{
|
|
"is_correct" : "نامشخص"
|
|
}
|
|
},
|
|
"include_fields": [],
|
|
"is_array": [
|
|
"word_classes",
|
|
"word_tags",
|
|
"domain_tags"
|
|
],
|
|
"query": {
|
|
"default_sort": [
|
|
{
|
|
"_score": "desc"
|
|
},
|
|
{
|
|
"title": "asc"
|
|
},
|
|
{
|
|
"time_edit": "desc"
|
|
}
|
|
],
|
|
"normal": {
|
|
"phrase": {
|
|
"title": 5,
|
|
"nearest_correct_word": 3,
|
|
"stem": 2,
|
|
"origin": 2
|
|
},
|
|
"match": {
|
|
"title": 3,
|
|
"nearest_correct_word": 2,
|
|
"stem": 1,
|
|
"origin": 1
|
|
}
|
|
},
|
|
"filter_keys": {
|
|
"f_wc": "word_classes",
|
|
"f_wt": "word_tags",
|
|
"f_lk": "language_key",
|
|
"f_dt": "domain_tags",
|
|
"f_rk": "ref_key"
|
|
}
|
|
}
|
|
} |