888 lines
18 KiB
JSON
888 lines
18 KiB
JSON
{
|
|
"index": {
|
|
"name": "tt_test",
|
|
"aliases": [],
|
|
"index_key": "test"
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text"
|
|
},
|
|
"ph": {
|
|
"type": "text"
|
|
},
|
|
"keyword": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"title_popular": {
|
|
"type": "text",
|
|
"analyzer": "normal_analyzer_fa",
|
|
"search_analyzer": "normal_analyzer_fa",
|
|
"search_quote_analyzer": "phrase_analyzer_fa"
|
|
},
|
|
"content": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text"
|
|
},
|
|
"ph": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"embeddings": {
|
|
"type": "dense_vector"
|
|
},
|
|
"initial": {
|
|
"properties": {
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"content": {
|
|
"type": "text"
|
|
},
|
|
"approuve_type": {
|
|
"type": "keyword"
|
|
},
|
|
"creators": {
|
|
"type": "keyword"
|
|
},
|
|
"signers": {
|
|
"type": "keyword"
|
|
},
|
|
"approuve_number": {
|
|
"type": "text"
|
|
},
|
|
"approuve_date": {
|
|
"type": "date"
|
|
},
|
|
"letter_number": {
|
|
"type": "text"
|
|
},
|
|
"letter_date": {
|
|
"type": "date"
|
|
},
|
|
"letter_signer": {
|
|
"type": "keyword"
|
|
},
|
|
"ministers": {
|
|
"type": "keyword"
|
|
},
|
|
"files": {
|
|
"properties": {
|
|
"path": {
|
|
"type": "text"
|
|
},
|
|
"file_name": {
|
|
"type": "text"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"receive": {
|
|
"properties": {
|
|
"term_number": {
|
|
"type": "text"
|
|
},
|
|
"ref_law": {
|
|
"type": "keyword"
|
|
},
|
|
"meet_number": {
|
|
"type": "text"
|
|
},
|
|
"meet_date": {
|
|
"type": "date"
|
|
},
|
|
"register_number": {
|
|
"type": "text"
|
|
},
|
|
"publish_number": {
|
|
"type": "text"
|
|
},
|
|
"handle_type": {
|
|
"type": "keyword"
|
|
},
|
|
"handle_method": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"refer": {
|
|
"properties": {
|
|
"refer_date": {
|
|
"type": "date"
|
|
},
|
|
"commission_type": {
|
|
"type": "keyword"
|
|
},
|
|
"commission_main": {
|
|
"type": "keyword"
|
|
},
|
|
"commission_mirrors": {
|
|
"type": "keyword"
|
|
},
|
|
"commission_common": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "keyword"
|
|
},
|
|
"member_count": {
|
|
"type": "integer"
|
|
},
|
|
"member_names": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"handle_85": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"commission_report": {
|
|
"properties": {
|
|
"agendas": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
},
|
|
"meets": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
},
|
|
"report_first": {
|
|
"properties": {
|
|
"approve_type": {
|
|
"type": "keyword"
|
|
},
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
},
|
|
"report_nexts": {
|
|
"properties": {
|
|
"type": {
|
|
"type": "keyword"
|
|
},
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
},
|
|
"duration_85": {
|
|
"type": "date"
|
|
},
|
|
"date_85": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parl_handle": {
|
|
"properties": {
|
|
"agendas": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
},
|
|
"meets": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
},
|
|
"agree_names": {
|
|
"type": "keyword"
|
|
},
|
|
"against_names": {
|
|
"type": "keyword"
|
|
},
|
|
"demands": {
|
|
"type": "keyword"
|
|
},
|
|
"demand85_names": {
|
|
"type": "keyword"
|
|
},
|
|
"handle_infos": {
|
|
"properties": {
|
|
"type": {
|
|
"type": "keyword"
|
|
},
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
},
|
|
"duration_85": {
|
|
"type": "date"
|
|
},
|
|
"date_85": {
|
|
"type": "date"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"before_info": {
|
|
"properties": {
|
|
"ref_id": {
|
|
"type": "keyword"
|
|
},
|
|
"plan_type": {
|
|
"type": "keyword"
|
|
},
|
|
"discuss_type": {
|
|
"type": "keyword"
|
|
},
|
|
"ministers": {
|
|
"type": "keyword"
|
|
},
|
|
"creators": {
|
|
"type": "text"
|
|
},
|
|
"register_number": {
|
|
"type": "text"
|
|
},
|
|
"prev_number": {
|
|
"type": "text"
|
|
},
|
|
"receipt_date": {
|
|
"type": "date"
|
|
},
|
|
"discuss_date1": {
|
|
"type": "date"
|
|
},
|
|
"discuss_date2": {
|
|
"type": "date"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"commission_type": {
|
|
"type": "keyword"
|
|
},
|
|
"commission_main": {
|
|
"type": "keyword"
|
|
},
|
|
"commission_mirrors": {
|
|
"type": "keyword"
|
|
},
|
|
"content": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"letters": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"type": {
|
|
"type": "keyword"
|
|
},
|
|
"sub_type": {
|
|
"type": "keyword"
|
|
},
|
|
"order": {
|
|
"type": "float"
|
|
},
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"content": {
|
|
"type": "text"
|
|
},
|
|
"delay_time": {
|
|
"type": "text"
|
|
},
|
|
"expire_date": {
|
|
"type": "date"
|
|
},
|
|
"files": {
|
|
"properties": {
|
|
"path": {
|
|
"type": "text"
|
|
},
|
|
"file_name": {
|
|
"type": "text"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"counts": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "keyword"
|
|
},
|
|
"value": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"davam_type": {
|
|
"type": "keyword"
|
|
},
|
|
"number_all": {
|
|
"type": "text"
|
|
},
|
|
"number_row": {
|
|
"type": "text"
|
|
},
|
|
"archive_info": {
|
|
"properties": {
|
|
"type": {
|
|
"type": "keyword"
|
|
},
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"ts_date_dotic": {
|
|
"type": "date"
|
|
},
|
|
"ts_date1": {
|
|
"type": "date"
|
|
},
|
|
"ts_ref1": {
|
|
"type": "keyword"
|
|
},
|
|
"ts_date2": {
|
|
"type": "date"
|
|
},
|
|
"ts_ref2": {
|
|
"type": "keyword"
|
|
},
|
|
"conformity_rrk": {
|
|
"type": "keyword"
|
|
},
|
|
"conformity_qanonyar": {
|
|
"type": "keyword"
|
|
},
|
|
"content_ocr": {
|
|
"type": "text"
|
|
},
|
|
"qanon_etebar": {
|
|
"type": "keyword"
|
|
},
|
|
"expire_date": {
|
|
"type": "date"
|
|
},
|
|
"exec_date": {
|
|
"type": "date"
|
|
},
|
|
"ref_key": {
|
|
"type": "keyword"
|
|
},
|
|
"ts_date": {
|
|
"type": "date"
|
|
},
|
|
"ts_year": {
|
|
"type": "integer"
|
|
},
|
|
"ts_ref": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"term": {
|
|
"type": "keyword"
|
|
},
|
|
"term_number": {
|
|
"type": "integer"
|
|
},
|
|
"ranking_weight": {
|
|
"type": "integer"
|
|
},
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"sub_type": {
|
|
"type": "keyword"
|
|
},
|
|
"title_type": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"action_type": {
|
|
"type": "keyword"
|
|
},
|
|
"section_len": {
|
|
"type": "integer"
|
|
},
|
|
"eblagh": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "text"
|
|
},
|
|
"from": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"rrk": {
|
|
"properties": {
|
|
"number": {
|
|
"type": "text"
|
|
},
|
|
"date": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"exceuter_organs": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer"
|
|
},
|
|
"title": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"receiver_organs": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer"
|
|
},
|
|
"title": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"sort_date_timestamp": {
|
|
"type": "long"
|
|
},
|
|
"qanon_relations": {
|
|
"properties": {
|
|
"from_type": {
|
|
"type": "keyword"
|
|
},
|
|
"from_section_id": {
|
|
"type": "keyword"
|
|
},
|
|
"from_section_title": {
|
|
"type": "keyword"
|
|
},
|
|
"rel_type": {
|
|
"type": "keyword"
|
|
},
|
|
"to_type": {
|
|
"type": "keyword"
|
|
},
|
|
"to_id": {
|
|
"type": "keyword"
|
|
},
|
|
"to_title": {
|
|
"type": "keyword"
|
|
},
|
|
"wait": {
|
|
"type": "integer"
|
|
},
|
|
"rel_key": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"opinion_relations": {
|
|
"properties": {
|
|
"from_type": {
|
|
"type": "keyword"
|
|
},
|
|
"from_section_id": {
|
|
"type": "keyword"
|
|
},
|
|
"from_section_title": {
|
|
"type": "keyword"
|
|
},
|
|
"rel_type": {
|
|
"type": "keyword"
|
|
},
|
|
"to_type": {
|
|
"type": "keyword"
|
|
},
|
|
"to_id": {
|
|
"type": "keyword"
|
|
},
|
|
"to_title": {
|
|
"type": "keyword"
|
|
},
|
|
"wait": {
|
|
"type": "integer"
|
|
},
|
|
"rel_key": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"fixed_date": {
|
|
"type": "date"
|
|
},
|
|
"renewal_date": {
|
|
"type": "date"
|
|
},
|
|
"exec_duration": {
|
|
"type": "text"
|
|
},
|
|
"effective_date": {
|
|
"type": "date"
|
|
},
|
|
"relation_organs": {
|
|
"type": "keyword"
|
|
},
|
|
"files": {
|
|
"properties": {
|
|
"path": {
|
|
"type": "text"
|
|
},
|
|
"file_name": {
|
|
"type": "text"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"type": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"is_delete": {
|
|
"type": "integer"
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
},
|
|
"doc_tags": {
|
|
"type": "keyword"
|
|
},
|
|
"doc_states": {
|
|
"type": "keyword"
|
|
}
|
|
},
|
|
"validation": {
|
|
"required": [
|
|
"id",
|
|
"title"
|
|
],
|
|
"default_value": {
|
|
"prompt_type": "question"
|
|
}
|
|
},
|
|
"include_fields": [
|
|
"id",
|
|
"title",
|
|
"title_popular",
|
|
"sort_date_timestamp",
|
|
"time_edit",
|
|
"ts_date",
|
|
"ts_ref",
|
|
"content",
|
|
"doc_states"
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"is_array": [
|
|
"initial.creators",
|
|
"initial.signers",
|
|
"initial.ministers",
|
|
"initial.files",
|
|
"refer.commission_mirrors",
|
|
"refer.commission_common",
|
|
"refer.commission_common.member_names",
|
|
"commission_report.agendas",
|
|
"commission_report.meets",
|
|
"commission_report.report_nexts",
|
|
"parl_handle.agendas",
|
|
"parl_handle.meets",
|
|
"parl_handle.agree_names",
|
|
"parl_handle.against_names",
|
|
"parl_handle.demands",
|
|
"parl_handle.demand85_names",
|
|
"parl_handle.handle_infos",
|
|
"before_info.ministers",
|
|
"before_info.creators",
|
|
"before_info.commission_mirrors",
|
|
"letters",
|
|
"letters.files",
|
|
"counts",
|
|
"exceuter_organs",
|
|
"receiver_organs",
|
|
"qanon_relations",
|
|
"opinion_relations",
|
|
"relation_organs",
|
|
"files",
|
|
"doc_states",
|
|
"doc_tags"
|
|
],
|
|
"is_autoid": [
|
|
"letters"
|
|
|
|
],
|
|
"query": {
|
|
"default_sort": [
|
|
{
|
|
"_score": "desc"
|
|
},
|
|
{
|
|
"ts_date": "desc"
|
|
}
|
|
],
|
|
"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": {}
|
|
}
|
|
},
|
|
"search_all_fields":{
|
|
"title": "title",
|
|
"content": "prompt_answer"
|
|
}
|
|
}
|
|
} |