135 lines
3.0 KiB
JSON
135 lines
3.0 KiB
JSON
{
|
|
"index": {
|
|
"name": "mj_qa_plan",
|
|
"aliases": [],
|
|
"index_key": "qaplan"
|
|
},
|
|
"properties": {
|
|
"plan_id": {
|
|
"type": "keyword"
|
|
},
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"urgency_state": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"introduction": {
|
|
"type": "text"
|
|
},
|
|
"content": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text"
|
|
},
|
|
"ph": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"result_sections": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "integer"
|
|
},
|
|
"title": {
|
|
"type": "float"
|
|
},
|
|
"content": {
|
|
"type": "text"
|
|
},
|
|
"notes": {
|
|
"type": "text"
|
|
},
|
|
"reasons": {
|
|
"type": "text"
|
|
},
|
|
"relation_sections": {
|
|
"type": "nested"
|
|
}
|
|
}
|
|
},
|
|
"ai_result": {
|
|
"properties": {
|
|
"start_offset": {
|
|
"type": "integer"
|
|
},
|
|
"end_offset": {
|
|
"type": "integer"
|
|
},
|
|
"word": {
|
|
"type": "text"
|
|
},
|
|
"start": {
|
|
"type": "float"
|
|
},
|
|
"end": {
|
|
"type": "float"
|
|
}
|
|
}
|
|
},
|
|
"time_create": {
|
|
"type": "date"
|
|
},
|
|
"user_id": {
|
|
"type": "integer"
|
|
},
|
|
"status_code": {
|
|
"type": "integer"
|
|
},
|
|
"status_message": {
|
|
"type": "text"
|
|
}
|
|
},
|
|
"validation": {
|
|
"required": []
|
|
},
|
|
"include_fields": [],
|
|
"is_array": [],
|
|
"query": {
|
|
"default_sort": [
|
|
{
|
|
"_score": "desc"
|
|
},
|
|
{
|
|
"ref_id": "asc"
|
|
},
|
|
{
|
|
"sound_link": "asc"
|
|
}
|
|
],
|
|
"normal": {
|
|
"phrase": {
|
|
"content.ph": 4
|
|
},
|
|
"match": {
|
|
"content": 2
|
|
}
|
|
},
|
|
"filter_keys": {},
|
|
"highlight": {
|
|
"pre_tags": [
|
|
"<span class='text__orange'>"
|
|
],
|
|
"post_tags": [
|
|
"</span>"
|
|
],
|
|
"fields": {
|
|
"title.fa": {},
|
|
"title.ph": {},
|
|
"content.fa": {},
|
|
"content.ph": {}
|
|
}
|
|
}
|
|
}
|
|
} |