{ "index": { "name": "mj_qa_domain", "aliases": [], "index_key": "mjdomain" }, "properties": { "domain_id": { "type": "keyword" }, "id": { "type": "keyword" }, "main_type": { "type": "keyword" }, "relevancies": { "properties": { "domain_id": { "type": "keyword" }, "domain_name": { "type": "keyword" }, "domain_title": { "type": "keyword" }, "relevancy_percentage": { "type": "float" }, "relevancy_score": { "type": "float" } } }, "title": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "top_qanons": { "properties": { "importance_score": { "type": "float" }, "max_label": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "max_score": { "type": "float" }, "qanon_id": { "type": "keyword" }, "qanon_title": { "type": "keyword" }, "scaled_importance": { "type": "float" } } }, "general_words": { "properties": { "word": { "type": "keyword" }, "count": { "type": "integer" } } }, "own_words": { "properties": { "word": { "type": "keyword" }, "count": { "type": "integer" } } }, "code_words": { "properties": { "domain_id": { "type": "keyword" }, "domain_name": { "type": "keyword" }, "shared_count": { "type": "integer" }, "union_words": { "properties": { "word": { "type": "keyword" }, "count": { "type": "integer" } } }, "delta_words": { "properties": { "word": { "type": "keyword" }, "count": { "type": "integer" } } }, "count": { "type": "integer" } } } }, "validation": { "required": [] }, "include_fields": [], "exclude_fields": [ "general_words", "own_words", "code_words" ], "is_array": [ "relevancies", "top_qanons", "general_words", "own_words", "code_words" ], "query": { "default_sort": [ { "_score": "desc" }, { "domain_id": "asc" } ], "normal": { "phrase": { "title": 12, "relevancies.domain_name": 10, "top_qanons.qanon_title": 9 }, "match": { "title": 4, "relevancies.domain_name": 2, "top_qanons.qanon_title": 2 } }, "filter_keys": { "f_mt": "main_type", "f_di": "domain_id" } } }