963 lines
19 KiB
JSON
963 lines
19 KiB
JSON
{
|
|
"index": {
|
|
"name": "mj_qa_section",
|
|
"aliases": [],
|
|
"index_key": "qasection",
|
|
"file_map": "qasection_map.json"
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"html": {
|
|
"type": "text"
|
|
},
|
|
"content": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text"
|
|
},
|
|
"ph": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"qanon_title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text"
|
|
},
|
|
"ph": {
|
|
"type": "text"
|
|
},
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"qanon_etebar": {
|
|
"type": "keyword"
|
|
},
|
|
"expire_date": {
|
|
"type": "keyword"
|
|
},
|
|
"ref_key": {
|
|
"type": "keyword"
|
|
},
|
|
"ts_date": {
|
|
"type": "text"
|
|
},
|
|
"ts_year": {
|
|
"type": "integer"
|
|
},
|
|
"ts_ref": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"state_etebar": {
|
|
"type": "keyword"
|
|
},
|
|
"state_tanghih": {
|
|
"type": "keyword"
|
|
},
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"sub_type": {
|
|
"type": "keyword"
|
|
},
|
|
"other_type": {
|
|
"type": "keyword"
|
|
},
|
|
"qanon_id": {
|
|
"type": "keyword"
|
|
},
|
|
"phase_id": {
|
|
"type": "keyword"
|
|
},
|
|
"parent_id": {
|
|
"type": "keyword"
|
|
},
|
|
"child_order": {
|
|
"type": "double"
|
|
},
|
|
"other_info": {
|
|
"properties": {
|
|
"level": {
|
|
"type": "integer"
|
|
},
|
|
"full_path": {
|
|
"type": "text"
|
|
},
|
|
"number_text": {
|
|
"type": "text"
|
|
},
|
|
"hierarchy": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"qanon_type": {
|
|
"type": "keyword"
|
|
},
|
|
"title_type": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"content_len": {
|
|
"type": "integer"
|
|
},
|
|
"word_len": {
|
|
"type": "integer"
|
|
},
|
|
"content_emb": {
|
|
"type": "text"
|
|
},
|
|
"content_normal": {
|
|
"type": "text"
|
|
},
|
|
"nlp_tags": {
|
|
"type": "keyword"
|
|
},
|
|
"nlp_childs": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"word_len": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"path_headings": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"level": {
|
|
"type": "integer"
|
|
},
|
|
"simplifies": {
|
|
"type": "text"
|
|
},
|
|
"ai_keywords": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"topics": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer"
|
|
},
|
|
"title": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"categories": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"tags": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"keywords": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"sort_date_timestamp": {
|
|
"type": "long"
|
|
},
|
|
"nlp_parses": {
|
|
"properties": {
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"nlp_type": {
|
|
"type": "keyword"
|
|
},
|
|
"begin": {
|
|
"type": "integer"
|
|
},
|
|
"end": {
|
|
"type": "integer"
|
|
},
|
|
"text": {
|
|
"type": "text"
|
|
},
|
|
"referes": {
|
|
"type": "keyword"
|
|
},
|
|
"dependency_infos": {
|
|
"type": "nested"
|
|
}
|
|
}
|
|
},
|
|
"ref_state": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"qanon_id": {
|
|
"type": "keyword"
|
|
},
|
|
"qanon_title": {
|
|
"type": "keyword"
|
|
},
|
|
"qanon_date": {
|
|
"type": "text"
|
|
},
|
|
"section_id": {
|
|
"type": "keyword"
|
|
},
|
|
"section_title": {
|
|
"type": "keyword"
|
|
},
|
|
"ref_key": {
|
|
"type": "keyword"
|
|
},
|
|
"effect_type": {
|
|
"type": "keyword"
|
|
},
|
|
"new_text": {
|
|
"type": "text"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"prev_text": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"code-ai": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "keyword"
|
|
},
|
|
"score": {
|
|
"type": "float"
|
|
}
|
|
}
|
|
},
|
|
"history_codes": {
|
|
"type": "nested",
|
|
"properties": {
|
|
"version_key": {
|
|
"type": "keyword"
|
|
},
|
|
"sub_key": {
|
|
"type": "keyword"
|
|
},
|
|
"label": {
|
|
"type": "keyword"
|
|
},
|
|
"score": {
|
|
"type": "float"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"ai_code": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "keyword"
|
|
},
|
|
"score": {
|
|
"type": "float"
|
|
}
|
|
}
|
|
},
|
|
"ai_codes": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "keyword"
|
|
},
|
|
"score": {
|
|
"type": "float"
|
|
}
|
|
}
|
|
},
|
|
"embeddings": {
|
|
"type": "dense_vector",
|
|
"dims": 768,
|
|
"index": true,
|
|
"similarity": "cosine"
|
|
},
|
|
"tvalid_state": {
|
|
"properties": {
|
|
"tstate": {
|
|
"type": "keyword"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"treason_type": {
|
|
"type": "keyword"
|
|
},
|
|
"treason": {
|
|
"type": "text",
|
|
"fielddata": true
|
|
},
|
|
"dependency_infos": {
|
|
"type": "nested"
|
|
}
|
|
}
|
|
},
|
|
"tcode_mains": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "keyword"
|
|
},
|
|
"id": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"tcode_subs": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "keyword"
|
|
},
|
|
"id": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"tcode": {
|
|
"properties": {
|
|
"mains": {
|
|
"type": "keyword"
|
|
},
|
|
"subs": {
|
|
"type": "keyword"
|
|
},
|
|
"mains_old": {
|
|
"type": "keyword"
|
|
},
|
|
"subs_old": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"model_work_tags": {
|
|
"properties": {
|
|
"title": {
|
|
"type": "keyword"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"degree": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"model_work_state": {
|
|
"properties": {
|
|
"title": {
|
|
"type": "keyword"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"model_rules": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"text_ners": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"template_desc": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"degree": {
|
|
"type": "integer"
|
|
},
|
|
"work_tags": {
|
|
"type": "keyword"
|
|
},
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"model_rules_logics": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"rules-id": {
|
|
"type": "keyword"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"model_rules_logics_triples": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"rules-id": {
|
|
"type": "keyword"
|
|
},
|
|
"rules_logics-id": {
|
|
"type": "keyword"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"model_rules_spins": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"rules-id": {
|
|
"type": "keyword"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"fielddata": true
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"model_files": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"file": {
|
|
"type": "keyword"
|
|
},
|
|
"file_name": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"graph_context": {
|
|
"properties": {
|
|
"repalces": {
|
|
"type": "text"
|
|
},
|
|
"delimiter_points": {
|
|
"type": "integer"
|
|
},
|
|
"section_ids": {
|
|
"type": "keyword"
|
|
},
|
|
"context": {
|
|
"type": "text"
|
|
},
|
|
"tags": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"graph_models": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"OWL": {
|
|
"type": "text"
|
|
},
|
|
"rule_type": {
|
|
"type": "keyword"
|
|
},
|
|
"rule": {
|
|
"type": "text"
|
|
},
|
|
"labels": {
|
|
"type": "nested"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"ai_conflict_rules": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"rule_type": {
|
|
"type": "keyword"
|
|
},
|
|
"rule": {
|
|
"type": "text"
|
|
},
|
|
"relation_rules": {
|
|
"type": "keyword"
|
|
},
|
|
"confilit_rules": {
|
|
"type": "keyword"
|
|
},
|
|
"confilit_sections": {
|
|
"type": "keyword"
|
|
},
|
|
"conflict_state": {
|
|
"type": "keyword"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"file_links": {
|
|
"properties": {
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"link": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"is_delete": {
|
|
"type": "integer"
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
},
|
|
"edit_type": {
|
|
"type": "keyword"
|
|
},
|
|
"mirror_type": {
|
|
"type": "keyword"
|
|
},
|
|
"doc_states": {
|
|
"type": "keyword"
|
|
},
|
|
"doc_tags": {
|
|
"type": "keyword"
|
|
},
|
|
"user_edit": {
|
|
"type": "integer"
|
|
},
|
|
"user_actions": {
|
|
"properties": {
|
|
"user_id": {
|
|
"type": "integer"
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"step_order": {
|
|
"type": "integer"
|
|
},
|
|
"wizard_key": {
|
|
"type": "keyword"
|
|
},
|
|
"property_key": {
|
|
"type": "keyword"
|
|
},
|
|
"action_key": {
|
|
"type": "keyword"
|
|
},
|
|
"action_value": {
|
|
"type": "text"
|
|
},
|
|
"action": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"user_logs": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"user_id": {
|
|
"type": "integer"
|
|
},
|
|
"username": {
|
|
"type": "keyword"
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
},
|
|
"property": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"validation": {
|
|
"required": [
|
|
"id",
|
|
"qanon_title",
|
|
"qanon_id",
|
|
"ts_ref",
|
|
"ts_date"
|
|
]
|
|
},
|
|
"include_fields": [
|
|
"id",
|
|
"content",
|
|
"ts_date",
|
|
"qanon_id",
|
|
"qanon_title",
|
|
"ts_ref",
|
|
"section_id",
|
|
"child_order",
|
|
"other_info",
|
|
"qanon_type",
|
|
"other_type",
|
|
"sort_date_timestamp",
|
|
"state_etebar",
|
|
"title",
|
|
"categories",
|
|
"topics",
|
|
"tags",
|
|
"ai_code",
|
|
"ai_codes",
|
|
"title_type"
|
|
],
|
|
"exclude_fields": [
|
|
"embeddings"
|
|
],
|
|
"field_joins": {
|
|
"ts_date": [
|
|
{
|
|
"process": "dateTotsmp",
|
|
"property": "sort_date_timestamp",
|
|
"desc": "dateTotsmp(\"ts_date\",\"/\")"
|
|
},
|
|
{
|
|
"process": "getYearOfDate",
|
|
"property": "ts_year",
|
|
"desc": "1403/05/06 --> 1403"
|
|
}
|
|
],
|
|
"content": [
|
|
{
|
|
"process": "len",
|
|
"property": "content_len",
|
|
"desc": "len(\"content\")"
|
|
},
|
|
{
|
|
"process": "countWords",
|
|
"property": "word_len",
|
|
"desc": "lenWords()"
|
|
}
|
|
]
|
|
},
|
|
"is_array": [
|
|
"nlp_tags",
|
|
"path_headings",
|
|
"simplifies",
|
|
"ai_keywords",
|
|
"topics",
|
|
"categories",
|
|
"tags",
|
|
"keywords",
|
|
"nlp_parses",
|
|
"nlp_parses.referes",
|
|
"ref_state",
|
|
"history_codes",
|
|
"ai_codes",
|
|
|
|
"tcode_mains",
|
|
"tcode_subs",
|
|
|
|
"model_work_tags",
|
|
"model_rules",
|
|
"model_rules_logics",
|
|
"model_rules_logics_triples",
|
|
"model_rules_spins",
|
|
"model_files",
|
|
|
|
"graph_models",
|
|
"ai_conflict_rules",
|
|
"file_links",
|
|
"doc_states",
|
|
"doc_tags",
|
|
"user_actions",
|
|
"user_logs"
|
|
],
|
|
"is_autoid": [],
|
|
"query": {
|
|
"default_sort": [
|
|
{
|
|
"_score": "desc"
|
|
},
|
|
{
|
|
"ts_date": "sort_date_timestamp"
|
|
}
|
|
],
|
|
"aggregation_fields": {
|
|
"ai-codes.label": 100,
|
|
"code-ai.label": 100,
|
|
"ts_ref": 100,
|
|
"state_etebar": 200,
|
|
"qanon_etebar": 200,
|
|
"sub_type": 100,
|
|
"other_type": 100,
|
|
"ts_year": 100,
|
|
"qanon_title": 100,
|
|
"topics.title": 100,
|
|
"title_type": 20,
|
|
"tvalid_state.tstate": 20,
|
|
"tcode_mains.label": 20,
|
|
"tcode_subs.label": 20,
|
|
"user_edit": {
|
|
"size": 100,
|
|
"is_value_user_id": true
|
|
},
|
|
"user_actions.action_key": {
|
|
"size": 100,
|
|
"name": "user_actions",
|
|
"rename_values": {
|
|
"expert_tvalid_state": "کارشناس-اعتبارسنجی",
|
|
"supervisor_tvalid_state": "ناظر-اعتبارسنجی",
|
|
"manager_tvalid_state": "مدیر-اعتبارسنجی",
|
|
"expert_tcode_mains": "کارشناس-کداصلی",
|
|
"expert_tcode_subs": "کارشناس-کد فرعی",
|
|
"supervisor_tcode_mains": "ناظر-کداصلی",
|
|
"supervisor_tcode_subs": "ناظر-کد فرعی",
|
|
"manager_tcode_mains": "مدیر-کداصلی",
|
|
"manager_tcode_subs": "مدیر-کد فرعی"
|
|
}
|
|
}
|
|
},
|
|
"collapse_fields": {
|
|
"qanon_id": {
|
|
"sort": {
|
|
"child_order": "asc"
|
|
},
|
|
"size": 5
|
|
}
|
|
},
|
|
"normal": {
|
|
"phrase": {
|
|
"title.ph": 12,
|
|
"title_popular": 10,
|
|
"content.ph": 9
|
|
},
|
|
"match": {
|
|
"title.ph": 4,
|
|
"title_popular": 2,
|
|
"content.ph": 2
|
|
}
|
|
},
|
|
"sort_keys": {
|
|
"lasttitle": {
|
|
"sort_date_timestamp": "desc"
|
|
},
|
|
"firsttitle": {
|
|
"sort_date_timestamp": "asc"
|
|
},
|
|
"title": {
|
|
"qanon_title": "asc"
|
|
}
|
|
},
|
|
"filter_keys": {
|
|
"f_rk": "ref_key",
|
|
"f_td": "ts_date",
|
|
"f_ey": "eb_year",
|
|
"f_ws": "work_state.title",
|
|
"f_wt": "work_tags.title",
|
|
"f_tr": "ts_ref.keyword",
|
|
"f_qty": "qanon_type",
|
|
"f_se": "state_etebar",
|
|
"f_qe": "qanon_etebar",
|
|
"f_st": "state_tanghih",
|
|
"f_ty": "ts_year",
|
|
"f_qt": "qanon_title.keyword",
|
|
"f_tt": "title_type",
|
|
"f_ttk": "title_type.keyword",
|
|
"f_tp": "topics.title",
|
|
"f_eo": "exceuter_organs.title",
|
|
"f_ro": "receiver_organs.title",
|
|
"f_tg": "tags.keyword",
|
|
"f_ct": "categories.keyword",
|
|
"f_mn": "majles_name",
|
|
"f_tn": "term_number",
|
|
"f_ed": "error_date.keyword",
|
|
"f_mb": "meet_number",
|
|
"f_tm": "talker.name",
|
|
"f_to": "talker.organ",
|
|
"f_md": "meet_date.keyword",
|
|
"f_dn": "dastur_number",
|
|
"f_mc": "member_count",
|
|
"f_nt": "content_type",
|
|
"f_mt": "main_type",
|
|
"f_sty": "sub_type",
|
|
"f_ot": "other_type.keyword",
|
|
"f_cal": "code-ai.label",
|
|
"f_vs": "tvalid_state.tstate",
|
|
"f_cm": "tcode_mains.label",
|
|
"f_cs": "tcode_subs.label",
|
|
"f_ua": "user_actions.action_key",
|
|
"f_ue": "user_edit",
|
|
"fr_mid": "tcode_mains.id",
|
|
"fr_sid": "tcode_subs.id",
|
|
"qanon_id": "qanon_id",
|
|
"mqanon_tp": {
|
|
"type": "api",
|
|
"key": "topics.id",
|
|
"service": "tlist",
|
|
"url": "/subject/get/childs",
|
|
"result": "meta.child_ids",
|
|
"body": {
|
|
"parents": "@value",
|
|
"item_state": 1
|
|
}
|
|
}
|
|
},
|
|
"advanced_tags": {
|
|
"تاریخ": {
|
|
"key": "sort_date_timestamp",
|
|
"boost_offset": 30,
|
|
"collapse_field": "id"
|
|
},
|
|
"عنوان": {
|
|
"key": "title",
|
|
"collapse_field": "id"
|
|
},
|
|
"متن": {
|
|
"key": "content",
|
|
"collapse_field": ""
|
|
},
|
|
"دستهبندی": {
|
|
"key": "category",
|
|
"collapse_field": "id"
|
|
},
|
|
"برچسب": {
|
|
"key": "tags",
|
|
"collapse_field": "id"
|
|
},
|
|
"نویسنده": {
|
|
"key": "author.name",
|
|
"collapse_field": "id"
|
|
},
|
|
"سال": {
|
|
"key": "created_year",
|
|
"boost_offset": 30,
|
|
"collapse_field": "id"
|
|
},
|
|
"اولویت": {
|
|
"key": "priority",
|
|
"collapse_field": "id"
|
|
}
|
|
},
|
|
"highlight": {
|
|
"pre_tags": [
|
|
"<span class="text__orange">"
|
|
],
|
|
"post_tags": [
|
|
"</span>"
|
|
],
|
|
"fields": {
|
|
"title.fa": {},
|
|
"title.ph": {},
|
|
"qanon_title.fa": {},
|
|
"qanon_title.ph": {},
|
|
"title_popular": {},
|
|
"content.fa": {},
|
|
"content.ph": {}
|
|
}
|
|
}
|
|
}
|
|
} |