MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "content": {
        "settings": {
            "index": {
                "number_of_shards": 1,
                "auto_expand_replicas": "0-2",
                "refresh_interval": "30s",
                "analysis": {
                    "analyzer": {
                        "text": {
                            "type": "custom",
                            "tokenizer": "smartcn_tokenizer",
                            "char_filter": [
                                "globo_norm",
                                "acronym_fixer",
                                "camelCase_splitter",
                                "dotted_I_fix",
                                "arabic_extended_norm",
                                "invis_cleanup",
                                "stconvertfix",
                                "tsconvert"
                            ],
                            "filter": [
                                "homoglyph_norm",
                                "smartcn_stop",
                                "icu_normalizer",
                                "remove_empty"
                            ]
                        },
                        "plain": {
                            "type": "custom",
                            "char_filter": [
                                "nnbsp_norm",
                                "word_break_helper"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "smartcn_stop",
                                "icu_normalizer",
                                "preserve_original_recorder",
                                "icu_folding",
                                "preserve_original",
                                "remove_empty"
                            ]
                        },
                        "plain_search": {
                            "type": "custom",
                            "char_filter": [
                                "nnbsp_norm",
                                "word_break_helper"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "smartcn_stop",
                                "icu_normalizer"
                            ]
                        },
                        "short_text": {
                            "type": "custom",
                            "tokenizer": "whitespace",
                            "filter": [
                                "icu_normalizer",
                                "aggressive_splitting",
                                "preserve_original_recorder",
                                "icu_folding",
                                "preserve_original",
                                "remove_empty"
                            ]
                        },
                        "short_text_search": {
                            "type": "custom",
                            "tokenizer": "whitespace",
                            "filter": [
                                "icu_normalizer",
                                "aggressive_splitting"
                            ]
                        },
                        "source_text_plain": {
                            "type": "custom",
                            "char_filter": [
                                "word_break_helper_source_text"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer"
                            ]
                        },
                        "source_text_plain_search": {
                            "type": "custom",
                            "char_filter": [
                                "word_break_helper_source_text"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer"
                            ]
                        },
                        "suggest": {
                            "type": "custom",
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer",
                                "suggest_shingle"
                            ]
                        },
                        "suggest_reverse": {
                            "type": "custom",
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer",
                                "suggest_shingle",
                                "reverse"
                            ]
                        },
                        "token_reverse": {
                            "type": "custom",
                            "tokenizer": "no_splitting",
                            "filter": [
                                "reverse"
                            ]
                        },
                        "near_match": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer"
                            ]
                        },
                        "near_match_asciifolding": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer",
                                "icu_folding",
                                "remove_empty"
                            ]
                        },
                        "prefix": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "prefix",
                            "filter": [
                                "icu_normalizer"
                            ]
                        },
                        "prefix_asciifolding": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "prefix",
                            "filter": [
                                "icu_normalizer",
                                "icu_folding",
                                "remove_empty"
                            ]
                        },
                        "word_prefix": {
                            "type": "custom",
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer",
                                "prefix_ngram_filter"
                            ]
                        },
                        "keyword": {
                            "type": "custom",
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword"
                            ]
                        },
                        "lowercase_keyword": {
                            "type": "custom",
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer",
                                "icu_folding",
                                "remove_empty"
                            ]
                        },
                        "trigram": {
                            "type": "custom",
                            "tokenizer": "trigram",
                            "filter": [
                                "icu_normalizer"
                            ]
                        },
                        "trigram_anchored": {
                            "type": "custom",
                            "tokenizer": "trigram",
                            "filter": [
                                "icu_normalizer"
                            ],
                            "char_filter": [
                                "add_regex_start_end_anchors"
                            ]
                        },
                        "text_search": {
                            "type": "custom",
                            "tokenizer": "smartcn_tokenizer",
                            "char_filter": [
                                "globo_norm",
                                "acronym_fixer",
                                "camelCase_splitter",
                                "dotted_I_fix",
                                "arabic_extended_norm",
                                "invis_cleanup",
                                "stconvertfix",
                                "tsconvert"
                            ],
                            "filter": [
                                "homoglyph_norm",
                                "smartcn_stop",
                                "icu_normalizer",
                                "remove_empty"
                            ]
                        },
                        "weighted_tags": {
                            "type": "custom",
                            "tokenizer": "keyword",
                            "filter": [
                                "weighted_tags_term_freq"
                            ]
                        }
                    },
                    "filter": {
                        "suggest_shingle": {
                            "type": "shingle",
                            "min_shingle_size": 2,
                            "max_shingle_size": 3,
                            "output_unigrams": ""
                        },
                        "lowercase": {
                            "type": "lowercase"
                        },
                        "aggressive_splitting": {
                            "type": "word_delimiter_graph"
                        },
                        "prefix_ngram_filter": {
                            "type": "edge_ngram",
                            "max_gram": 255
                        },
                        "asciifolding": {
                            "type": "asciifolding"
                        },
                        "asciifolding_preserve": {
                            "type": "asciifolding",
                            "preserve_original": ""
                        },
                        "truncate_keyword": {
                            "type": "truncate_norm",
                            "length": 5000
                        },
                        "remove_empty": {
                            "type": "length",
                            "min": 1
                        },
                        "icutokrep_no_camel_split": {
                            "type": "icu_token_repair"
                        },
                        "icu_normalizer": {
                            "type": "icu_normalizer",
                            "name": "nfkc_cf"
                        },
                        "smartcn_stop": {
                            "type": "stop",
                            "stopwords": [
                                ","
                            ]
                        },
                        "weighted_tags_term_freq": {
                            "type": "term_freq",
                            "split_char": "|",
                            "max_tf": 1000
                        },
                        "icu_folding": {
                            "type": "icu_folding"
                        },
                        "icu_nfkc_normalization": {
                            "type": "icu_normalizer",
                            "name": "nfkc"
                        }
                    },
                    "tokenizer": {
                        "prefix": {
                            "type": "edge_ngram",
                            "max_gram": 255
                        },
                        "no_splitting": {
                            "type": "keyword"
                        },
                        "trigram": {
                            "type": "nGram",
                            "min_gram": 3,
                            "max_gram": 3
                        }
                    },
                    "char_filter": {
                        "near_space_flattener": {
                            "type": "limited_mapping",
                            "mappings": [
                                "'=>\\u0020",
                                "\\u2019=>\\u0020",
                                "\\u02BC=>\\u0020",
                                "_=>\\u0020",
                                "-=>\\u0020"
                            ]
                        },
                        "nnbsp_norm": {
                            "type": "limited_mapping",
                            "mappings": [
                                "\\u202F=>\\u0020"
                            ]
                        },
                        "regex_camelCase": {
                            "type": "pattern_replace",
                            "pattern": "(\\p{Ll}[\\p{M}\\p{Cf}]*)([\\p{Lu}\\p{Lt}])",
                            "replacement": "$1 $2"
                        },
                        "regex_acronym_fixer": {
                            "type": "pattern_replace",
                            "pattern": "(?<=(?:^|\\P{L})\\p{L})[.\uff0e](\\p{L})(?=\\P{L}|$)",
                            "replacement": "$1"
                        },
                        "globo_norm": {
                            "type": "mapping",
                            "mappings": [
                                "`=>'",
                                "\u00b4=>'",
                                "\u02b9=>'",
                                "\u02bb=>'",
                                "\u02bc=>'",
                                "\u02bd=>'",
                                "\u02be=>'",
                                "\u02bf=>'",
                                "\u02cb=>'",
                                "\u055a=>'",
                                "\\u05F3=>'",
                                "\u2018=>'",
                                "\u2019=>'",
                                "\u201b=>'",
                                "\u2032=>'",
                                "\u2035=>'",
                                "\ua78c=>'",
                                "\uff07=>'",
                                "\uff40=>'",
                                "\\u202F=>\\u0020",
                                "\u02c8=>",
                                "\u02cc=>",
                                "\\u0640=>",
                                "\u066c=>,",
                                "\u060c=>,",
                                "\u055b=>",
                                "\u055c=>",
                                "\u055e=>",
                                "\u00b5=>\u03bc",
                                "\\u05F0=>\\u05D5\\u05D5",
                                "\\u05F1=>\\u05D5\\u05D9",
                                "\\u05F2=>\\u05D9\\u05D9",
                                "\\uFB1F=>\\u05D9\\u05D9\\u05B7",
                                "\\u05D9\\u05B7\\u05D9=>\\u05D9\\u05D9\\u05B7",
                                "\u0d23\u0d4d\\u200D=>\u0d7a",
                                "\u0d28\u0d4d\\u200D=>\u0d7b",
                                "\u0d30\u0d4d\\u200D=>\u0d7c",
                                "\u0d32\u0d4d\\u200D=>\u0d7d",
                                "\u0d33\u0d4d\\u200D=>\u0d7e",
                                "\u09a4\u09cd\\u200D=>\u09ce",
                                "\\u061C=>"
                            ]
                        },
                        "arabic_extended_norm": {
                            "type": "limited_mapping",
                            "mappings": [
                                "\\uFB8E=>\\u0643",
                                "\\uFB8F=>\\u0643",
                                "\\uFB90=>\\u0643",
                                "\\uFB91=>\\u0643",
                                "\\u06A9=>\\u0643",
                                "\\u06AA=>\\u0643",
                                "\\uFEDB=>\\u0643",
                                "\\uFEDC=>\\u0643",
                                "\\uFED9=>\\u0643",
                                "\\uFEDA=>\\u0643",
                                "\\uFBFC=>\\u064A",
                                "\\uFBFD=>\\u064A",
                                "\\uFBFE=>\\u064A",
                                "\\uFBFF=>\\u064A",
                                "\\u06CC=>\\u064A",
                                "\\uFBE8=>\\u064A",
                                "\\uFBE9=>\\u064A",
                                "\\uFEEF=>\\u064A",
                                "\\uFEF0=>\\u064A",
                                "\\u0649=>\\u064A",
                                "\\u06CD=>\\u064A",
                                "\\uFBE4=>\\u064A",
                                "\\uFBE5=>\\u064A",
                                "\\uFBE6=>\\u064A",
                                "\\uFBE7=>\\u064A",
                                "\\u06D0=>\\u064A",
                                "\\uFBA6=>\\u0647",
                                "\\uFBA7=>\\u0647",
                                "\\uFBA8=>\\u0647",
                                "\\uFBA9=>\\u0647",
                                "\\u06C1=>\\u0647",
                                "\\u06C0=>\\u0647",
                                "\\uFBA4=>\\u0647",
                                "\\uFBA5=>\\u0647",
                                "\\u06D5=>\\u0647"
                            ]
                        },
                        "word_break_helper": {
                            "type": "limited_mapping",
                            "mappings": [
                                "_=>\\u0020",
                                ":=>\\u0020",
                                ".=>\\u0020",
                                "(=>\\u0020",
                                ")=>\\u0020",
                                "\uff0e=>\\u0020",
                                "\uff3f=>\\u0020",
                                "\uff1a=>\\u0020",
                                "\u00b7=>\\u0020"
                            ]
                        },
                        "word_break_helper_source_text": {
                            "type": "limited_mapping",
                            "mappings": [
                                "_=>\\u0020",
                                ".=>\\u0020",
                                "(=>\\u0020",
                                ")=>\\u0020",
                                ":=>\\u0020"
                            ]
                        },
                        "dotted_I_fix": {
                            "type": "limited_mapping",
                            "mappings": [
                                "\u0130=>I"
                            ]
                        },
                        "icu_normalizer": {
                            "type": "icu_normalizer",
                            "name": "nfkc_cf"
                        },
                        "tsconvert": {
                            "type": "stconvert",
                            "delimiter": "#",
                            "convert_type": "t2s"
                        },
                        "stconvertfix": {
                            "type": "mapping",
                            "mappings": [
                                "\\u606d\\u5f18=>\\u606d \\u5f18",
                                "\\u5138=>\\u3469"
                            ]
                        },
                        "invis_cleanup": {
                            "type": "mapping",
                            "mappings": [
                                "\\u200B=>\\u0020",
                                "\\u00AD=>",
                                "\\u200C=>",
                                "\\u200D=>",
                                "\\u2060=>",
                                "\\uFEFF=>",
                                "\\u200E=>",
                                "\\u200F=>",
                                "\\u202A=>",
                                "\\u202B=>",
                                "\\u202C=>",
                                "\\u202D=>",
                                "\\u202E=>",
                                "\\u2066=>",
                                "\\u2067=>",
                                "\\u2068=>",
                                "\\u2069=>",
                                "\\u2061=>",
                                "\\u2062=>",
                                "\\u2063=>",
                                "\\u2064=>",
                                "\ufe00=>",
                                "\ufe01=>",
                                "\ufe02=>",
                                "\ufe03=>",
                                "\ufe04=>",
                                "\ufe05=>",
                                "\ufe06=>",
                                "\ufe07=>",
                                "\ufe08=>",
                                "\ufe09=>",
                                "\ufe0a=>",
                                "\ufe0b=>",
                                "\ufe0c=>",
                                "\ufe0d=>",
                                "\ufe0e=>",
                                "\ufe0f=>",
                                "\udb40\udd00=>",
                                "\udb40\udd01=>",
                                "\udb40\udd02=>",
                                "\udb40\udd03=>",
                                "\udb40\udd04=>",
                                "\udb40\udd05=>",
                                "\udb40\udd06=>",
                                "\udb40\udd07=>",
                                "\udb40\udd08=>",
                                "\udb40\udd09=>",
                                "\udb40\udd0a=>",
                                "\udb40\udd0b=>",
                                "\udb40\udd0c=>",
                                "\udb40\udd0d=>",
                                "\udb40\udd0e=>",
                                "\udb40\udd0f=>",
                                "\udb40\udd10=>",
                                "\udb40\udd11=>",
                                "\udb40\udd12=>",
                                "\udb40\udd13=>",
                                "\udb40\udd14=>",
                                "\udb40\udd15=>",
                                "\udb40\udd16=>",
                                "\udb40\udd17=>",
                                "\udb40\udd18=>",
                                "\udb40\udd19=>",
                                "\udb40\udd1a=>",
                                "\udb40\udd1b=>",
                                "\udb40\udd1c=>",
                                "\udb40\udd1d=>",
                                "\udb40\udd1e=>",
                                "\udb40\udd1f=>",
                                "\udb40\udd20=>",
                                "\udb40\udd21=>",
                                "\udb40\udd22=>",
                                "\udb40\udd23=>",
                                "\udb40\udd24=>",
                                "\udb40\udd25=>",
                                "\udb40\udd26=>",
                                "\udb40\udd27=>",
                                "\udb40\udd28=>",
                                "\udb40\udd29=>",
                                "\udb40\udd2a=>",
                                "\udb40\udd2b=>",
                                "\udb40\udd2c=>",
                                "\udb40\udd2d=>",
                                "\udb40\udd2e=>",
                                "\udb40\udd2f=>",
                                "\udb40\udd30=>",
                                "\udb40\udd31=>",
                                "\udb40\udd32=>",
                                "\udb40\udd33=>",
                                "\udb40\udd34=>",
                                "\udb40\udd35=>",
                                "\udb40\udd36=>",
                                "\udb40\udd37=>",
                                "\udb40\udd38=>",
                                "\udb40\udd39=>",
                                "\udb40\udd3a=>",
                                "\udb40\udd3b=>",
                                "\udb40\udd3c=>",
                                "\udb40\udd3d=>",
                                "\udb40\udd3e=>",
                                "\udb40\udd3f=>",
                                "\udb40\udd40=>",
                                "\udb40\udd41=>",
                                "\udb40\udd42=>",
                                "\udb40\udd43=>",
                                "\udb40\udd44=>",
                                "\udb40\udd45=>",
                                "\udb40\udd46=>",
                                "\udb40\udd47=>",
                                "\udb40\udd48=>",
                                "\udb40\udd49=>",
                                "\udb40\udd4a=>",
                                "\udb40\udd4b=>",
                                "\udb40\udd4c=>",
                                "\udb40\udd4d=>",
                                "\udb40\udd4e=>",
                                "\udb40\udd4f=>",
                                "\udb40\udd50=>",
                                "\udb40\udd51=>",
                                "\udb40\udd52=>",
                                "\udb40\udd53=>",
                                "\udb40\udd54=>",
                                "\udb40\udd55=>",
                                "\udb40\udd56=>",
                                "\udb40\udd57=>",
                                "\udb40\udd58=>",
                                "\udb40\udd59=>",
                                "\udb40\udd5a=>",
                                "\udb40\udd5b=>",
                                "\udb40\udd5c=>",
                                "\udb40\udd5d=>",
                                "\udb40\udd5e=>",
                                "\udb40\udd5f=>",
                                "\udb40\udd60=>",
                                "\udb40\udd61=>",
                                "\udb40\udd62=>",
                                "\udb40\udd63=>",
                                "\udb40\udd64=>",
                                "\udb40\udd65=>",
                                "\udb40\udd66=>",
                                "\udb40\udd67=>",
                                "\udb40\udd68=>",
                                "\udb40\udd69=>",
                                "\udb40\udd6a=>",
                                "\udb40\udd6b=>",
                                "\udb40\udd6c=>",
                                "\udb40\udd6d=>",
                                "\udb40\udd6e=>",
                                "\udb40\udd6f=>",
                                "\udb40\udd70=>",
                                "\udb40\udd71=>",
                                "\udb40\udd72=>",
                                "\udb40\udd73=>",
                                "\udb40\udd74=>",
                                "\udb40\udd75=>",
                                "\udb40\udd76=>",
                                "\udb40\udd77=>",
                                "\udb40\udd78=>",
                                "\udb40\udd79=>",
                                "\udb40\udd7a=>",
                                "\udb40\udd7b=>",
                                "\udb40\udd7c=>",
                                "\udb40\udd7d=>",
                                "\udb40\udd7e=>",
                                "\udb40\udd7f=>",
                                "\udb40\udd80=>",
                                "\udb40\udd81=>",
                                "\udb40\udd82=>",
                                "\udb40\udd83=>",
                                "\udb40\udd84=>",
                                "\udb40\udd85=>",
                                "\udb40\udd86=>",
                                "\udb40\udd87=>",
                                "\udb40\udd88=>",
                                "\udb40\udd89=>",
                                "\udb40\udd8a=>",
                                "\udb40\udd8b=>",
                                "\udb40\udd8c=>",
                                "\udb40\udd8d=>",
                                "\udb40\udd8e=>",
                                "\udb40\udd8f=>",
                                "\udb40\udd90=>",
                                "\udb40\udd91=>",
                                "\udb40\udd92=>",
                                "\udb40\udd93=>",
                                "\udb40\udd94=>",
                                "\udb40\udd95=>",
                                "\udb40\udd96=>",
                                "\udb40\udd97=>",
                                "\udb40\udd98=>",
                                "\udb40\udd99=>",
                                "\udb40\udd9a=>",
                                "\udb40\udd9b=>",
                                "\udb40\udd9c=>",
                                "\udb40\udd9d=>",
                                "\udb40\udd9e=>",
                                "\udb40\udd9f=>",
                                "\udb40\udda0=>",
                                "\udb40\udda1=>",
                                "\udb40\udda2=>",
                                "\udb40\udda3=>",
                                "\udb40\udda4=>",
                                "\udb40\udda5=>",
                                "\udb40\udda6=>",
                                "\udb40\udda7=>",
                                "\udb40\udda8=>",
                                "\udb40\udda9=>",
                                "\udb40\uddaa=>",
                                "\udb40\uddab=>",
                                "\udb40\uddac=>",
                                "\udb40\uddad=>",
                                "\udb40\uddae=>",
                                "\udb40\uddaf=>",
                                "\udb40\uddb0=>",
                                "\udb40\uddb1=>",
                                "\udb40\uddb2=>",
                                "\udb40\uddb3=>",
                                "\udb40\uddb4=>",
                                "\udb40\uddb5=>",
                                "\udb40\uddb6=>",
                                "\udb40\uddb7=>",
                                "\udb40\uddb8=>",
                                "\udb40\uddb9=>",
                                "\udb40\uddba=>",
                                "\udb40\uddbb=>",
                                "\udb40\uddbc=>",
                                "\udb40\uddbd=>",
                                "\udb40\uddbe=>",
                                "\udb40\uddbf=>",
                                "\udb40\uddc0=>",
                                "\udb40\uddc1=>",
                                "\udb40\uddc2=>",
                                "\udb40\uddc3=>",
                                "\udb40\uddc4=>",
                                "\udb40\uddc5=>",
                                "\udb40\uddc6=>",
                                "\udb40\uddc7=>",
                                "\udb40\uddc8=>",
                                "\udb40\uddc9=>",
                                "\udb40\uddca=>",
                                "\udb40\uddcb=>",
                                "\udb40\uddcc=>",
                                "\udb40\uddcd=>",
                                "\udb40\uddce=>",
                                "\udb40\uddcf=>",
                                "\udb40\uddd0=>",
                                "\udb40\uddd1=>",
                                "\udb40\uddd2=>",
                                "\udb40\uddd3=>",
                                "\udb40\uddd4=>",
                                "\udb40\uddd5=>",
                                "\udb40\uddd6=>",
                                "\udb40\uddd7=>",
                                "\udb40\uddd8=>",
                                "\udb40\uddd9=>",
                                "\udb40\uddda=>",
                                "\udb40\udddb=>",
                                "\udb40\udddc=>",
                                "\udb40\udddd=>",
                                "\udb40\uddde=>",
                                "\udb40\udddf=>",
                                "\udb40\udde0=>",
                                "\udb40\udde1=>",
                                "\udb40\udde2=>",
                                "\udb40\udde3=>",
                                "\udb40\udde4=>",
                                "\udb40\udde5=>",
                                "\udb40\udde6=>",
                                "\udb40\udde7=>",
                                "\udb40\udde8=>",
                                "\udb40\udde9=>",
                                "\udb40\uddea=>",
                                "\udb40\uddeb=>",
                                "\udb40\uddec=>",
                                "\udb40\udded=>",
                                "\udb40\uddee=>",
                                "\udb40\uddef=>"
                            ]
                        }
                    },
                    "normalizer": {
                        "lowercase_keyword": {
                            "type": "custom",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer"
                            ]
                        },
                        "keyword": {
                            "type": "custom",
                            "filter": [
                                "truncate_keyword"
                            ]
                        }
                    }
                },
                "query": {
                    "default_field": "all"
                },
                "similarity": {
                    "default": {
                        "type": "BM25"
                    },
                    "arrays": {
                        "type": "BM25",
                        "k1": 1.2,
                        "b": 0.3
                    },
                    "weighted_tags_similarity": {
                        "type": "scripted",
                        "script": {
                            "source": "return (doc.freq*query.boost)/1000;"
                        }
                    }
                }
            },
            "indexing.slowlog.threshold.index.warn": "10s",
            "indexing.slowlog.threshold.index.info": "5s",
            "indexing.slowlog.threshold.index.debug": "2s",
            "indexing.slowlog.threshold.index.trace": -1,
            "search.slowlog.threshold.query.warn": "60s",
            "search.slowlog.threshold.query.info": "10s",
            "search.slowlog.threshold.query.debug": "5s",
            "search.slowlog.threshold.query.trace": -1,
            "search.slowlog.threshold.fetch.warn": "10s",
            "search.slowlog.threshold.fetch.info": "5s",
            "search.slowlog.threshold.fetch.debug": "1s",
            "search.slowlog.threshold.fetch.trace": "-1",
            "merge.scheduler.max_thread_count": 1
        },
        "mappings": {
            "properties": {
                "timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "create_timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "page_id": {
                    "type": "long"
                },
                "wiki": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "namespace": {
                    "type": "long"
                },
                "namespace_text": {
                    "type": "keyword",
                    "doc_values": "",
                    "normalizer": "keyword"
                },
                "title": {
                    "type": "text",
                    "copy_to": [
                        "suggest",
                        "suggest_variant",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25"
                        },
                        "prefix": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "prefix",
                            "search_analyzer": "near_match",
                            "index_options": "docs"
                        },
                        "prefix_asciifolding": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "prefix_asciifolding",
                            "search_analyzer": "near_match_asciifolding",
                            "index_options": "docs"
                        },
                        "near_match": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "near_match",
                            "index_options": "docs"
                        },
                        "near_match_asciifolding": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "near_match_asciifolding",
                            "index_options": "docs"
                        },
                        "keyword": {
                            "similarity": "BM25",
                            "type": "keyword",
                            "normalizer": "keyword"
                        },
                        "natural_sort": {
                            "similarity": "BM25",
                            "type": "icu_collation_keyword",
                            "ignore_above": 5000,
                            "numeric": "",
                            "strength": "tertiary",
                            "language": "zh"
                        },
                        "trigram": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "trigram_anchored",
                            "search_analyzer": "trigram",
                            "index_options": "docs"
                        }
                    }
                },
                "text": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        },
                        "word_count": {
                            "type": "token_count",
                            "analyzer": "plain"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all"
                    ]
                },
                "text_bytes": {
                    "type": "long"
                },
                "source_text": {
                    "type": "text",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "source_text_plain",
                            "search_analyzer": "source_text_plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        },
                        "trigram": {
                            "type": "text",
                            "analyzer": "trigram",
                            "index_options": "docs"
                        }
                    }
                },
                "redirect": {
                    "properties": {
                        "namespace": {
                            "type": "long"
                        },
                        "title": {
                            "type": "text",
                            "copy_to": [
                                "suggest",
                                "suggest_variant",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match"
                            ],
                            "analyzer": "text",
                            "search_analyzer": "text_search",
                            "position_increment_gap": 10,
                            "similarity": "arrays",
                            "fields": {
                                "plain": {
                                    "type": "text",
                                    "analyzer": "plain",
                                    "search_analyzer": "plain_search",
                                    "position_increment_gap": 10,
                                    "similarity": "arrays",
                                    "index_options": "offsets"
                                },
                                "prefix": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "prefix",
                                    "search_analyzer": "near_match",
                                    "index_options": "offsets"
                                },
                                "prefix_asciifolding": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "prefix_asciifolding",
                                    "search_analyzer": "near_match_asciifolding",
                                    "index_options": "offsets"
                                },
                                "near_match": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "near_match",
                                    "index_options": "offsets"
                                },
                                "near_match_asciifolding": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "near_match_asciifolding",
                                    "index_options": "offsets"
                                },
                                "keyword": {
                                    "similarity": "arrays",
                                    "type": "keyword",
                                    "normalizer": "keyword"
                                },
                                "natural_sort": {
                                    "similarity": "arrays",
                                    "type": "icu_collation_keyword",
                                    "ignore_above": 5000,
                                    "numeric": "",
                                    "strength": "tertiary",
                                    "language": "zh"
                                },
                                "trigram": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "trigram_anchored",
                                    "search_analyzer": "trigram",
                                    "index_options": "docs"
                                }
                            },
                            "index_options": "offsets"
                        }
                    }
                },
                "incoming_links": {
                    "type": "long"
                },
                "local_sites_with_dupe": {
                    "type": "keyword",
                    "normalizer": "lowercase_keyword"
                },
                "suggest": {
                    "type": "text",
                    "similarity": "arrays",
                    "index_options": "freqs",
                    "analyzer": "suggest"
                },
                "suggest_variant": {
                    "type": "text",
                    "similarity": "arrays",
                    "index_options": "freqs",
                    "analyzer": "suggest"
                },
                "category": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "arrays",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "arrays",
                            "index_options": "offsets"
                        },
                        "lowercase_keyword": {
                            "similarity": "arrays",
                            "type": "keyword",
                            "normalizer": "lowercase_keyword"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ]
                },
                "external_link": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "outgoing_link": {
                    "type": "keyword",
                    "normalizer": "keyword",
                    "fields": {
                        "token_count": {
                            "type": "token_count",
                            "analyzer": "keyword"
                        }
                    }
                },
                "template": {
                    "type": "keyword",
                    "normalizer": "lowercase_keyword",
                    "fields": {
                        "keyword": {
                            "type": "keyword",
                            "normalizer": "keyword"
                        }
                    }
                },
                "content_model": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "language": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "heading": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "arrays",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "arrays",
                            "index_options": "offsets"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ]
                },
                "auxiliary_text": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all"
                    ]
                },
                "opening_text": {
                    "type": "text",
                    "copy_to": [
                        "suggest_variant",
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25"
                        }
                    }
                },
                "file_media_type": {
                    "type": "keyword",
                    "normalizer": "lowercase_keyword"
                },
                "file_mime": {
                    "type": "text",
                    "analyzer": "short_text",
                    "search_analyzer": "short_text_search"
                },
                "file_size": {
                    "type": "long"
                },
                "file_width": {
                    "type": "long"
                },
                "file_height": {
                    "type": "long"
                },
                "file_bits": {
                    "type": "long"
                },
                "file_resolution": {
                    "type": "long"
                },
                "file_text": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all"
                    ]
                },
                "weighted_tags": {
                    "type": "text",
                    "analyzer": "weighted_tags",
                    "search_analyzer": "keyword",
                    "index_options": "freqs",
                    "similarity": "weighted_tags_similarity"
                },
                "popularity_score": {
                    "type": "double"
                },
                "wikibase_item": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "all": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25"
                        }
                    }
                },
                "all_near_match": {
                    "type": "text",
                    "analyzer": "near_match",
                    "index_options": "freqs",
                    "similarity": "BM25",
                    "fields": {
                        "asciifolding": {
                            "type": "text",
                            "analyzer": "near_match_asciifolding",
                            "index_options": "freqs",
                            "similarity": "BM25"
                        }
                    }
                }
            }
        }
    },
    "general": {
        "settings": {
            "index": {
                "number_of_shards": 1,
                "auto_expand_replicas": "0-2",
                "refresh_interval": "30s",
                "analysis": {
                    "analyzer": {
                        "text": {
                            "type": "custom",
                            "tokenizer": "smartcn_tokenizer",
                            "char_filter": [
                                "globo_norm",
                                "acronym_fixer",
                                "camelCase_splitter",
                                "dotted_I_fix",
                                "arabic_extended_norm",
                                "invis_cleanup",
                                "stconvertfix",
                                "tsconvert"
                            ],
                            "filter": [
                                "homoglyph_norm",
                                "smartcn_stop",
                                "icu_normalizer",
                                "remove_empty"
                            ]
                        },
                        "plain": {
                            "type": "custom",
                            "char_filter": [
                                "nnbsp_norm",
                                "word_break_helper"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "smartcn_stop",
                                "icu_normalizer",
                                "preserve_original_recorder",
                                "icu_folding",
                                "preserve_original",
                                "remove_empty"
                            ]
                        },
                        "plain_search": {
                            "type": "custom",
                            "char_filter": [
                                "nnbsp_norm",
                                "word_break_helper"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "smartcn_stop",
                                "icu_normalizer"
                            ]
                        },
                        "short_text": {
                            "type": "custom",
                            "tokenizer": "whitespace",
                            "filter": [
                                "icu_normalizer",
                                "aggressive_splitting",
                                "preserve_original_recorder",
                                "icu_folding",
                                "preserve_original",
                                "remove_empty"
                            ]
                        },
                        "short_text_search": {
                            "type": "custom",
                            "tokenizer": "whitespace",
                            "filter": [
                                "icu_normalizer",
                                "aggressive_splitting"
                            ]
                        },
                        "source_text_plain": {
                            "type": "custom",
                            "char_filter": [
                                "word_break_helper_source_text"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer"
                            ]
                        },
                        "source_text_plain_search": {
                            "type": "custom",
                            "char_filter": [
                                "word_break_helper_source_text"
                            ],
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer"
                            ]
                        },
                        "suggest": {
                            "type": "custom",
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer",
                                "suggest_shingle"
                            ]
                        },
                        "suggest_reverse": {
                            "type": "custom",
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer",
                                "suggest_shingle",
                                "reverse"
                            ]
                        },
                        "token_reverse": {
                            "type": "custom",
                            "tokenizer": "no_splitting",
                            "filter": [
                                "reverse"
                            ]
                        },
                        "near_match": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer"
                            ]
                        },
                        "near_match_asciifolding": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer",
                                "icu_folding",
                                "remove_empty"
                            ]
                        },
                        "prefix": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "prefix",
                            "filter": [
                                "icu_normalizer"
                            ]
                        },
                        "prefix_asciifolding": {
                            "type": "custom",
                            "char_filter": [
                                "near_space_flattener"
                            ],
                            "tokenizer": "prefix",
                            "filter": [
                                "icu_normalizer",
                                "icu_folding",
                                "remove_empty"
                            ]
                        },
                        "word_prefix": {
                            "type": "custom",
                            "tokenizer": "textify_icu_tokenizer",
                            "filter": [
                                "icutokrep_no_camel_split",
                                "icu_normalizer",
                                "prefix_ngram_filter"
                            ]
                        },
                        "keyword": {
                            "type": "custom",
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword"
                            ]
                        },
                        "lowercase_keyword": {
                            "type": "custom",
                            "tokenizer": "no_splitting",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer",
                                "icu_folding",
                                "remove_empty"
                            ]
                        },
                        "trigram": {
                            "type": "custom",
                            "tokenizer": "trigram",
                            "filter": [
                                "icu_normalizer"
                            ]
                        },
                        "trigram_anchored": {
                            "type": "custom",
                            "tokenizer": "trigram",
                            "filter": [
                                "icu_normalizer"
                            ],
                            "char_filter": [
                                "add_regex_start_end_anchors"
                            ]
                        },
                        "text_search": {
                            "type": "custom",
                            "tokenizer": "smartcn_tokenizer",
                            "char_filter": [
                                "globo_norm",
                                "acronym_fixer",
                                "camelCase_splitter",
                                "dotted_I_fix",
                                "arabic_extended_norm",
                                "invis_cleanup",
                                "stconvertfix",
                                "tsconvert"
                            ],
                            "filter": [
                                "homoglyph_norm",
                                "smartcn_stop",
                                "icu_normalizer",
                                "remove_empty"
                            ]
                        },
                        "weighted_tags": {
                            "type": "custom",
                            "tokenizer": "keyword",
                            "filter": [
                                "weighted_tags_term_freq"
                            ]
                        }
                    },
                    "filter": {
                        "suggest_shingle": {
                            "type": "shingle",
                            "min_shingle_size": 2,
                            "max_shingle_size": 3,
                            "output_unigrams": ""
                        },
                        "lowercase": {
                            "type": "lowercase"
                        },
                        "aggressive_splitting": {
                            "type": "word_delimiter_graph"
                        },
                        "prefix_ngram_filter": {
                            "type": "edge_ngram",
                            "max_gram": 255
                        },
                        "asciifolding": {
                            "type": "asciifolding"
                        },
                        "asciifolding_preserve": {
                            "type": "asciifolding",
                            "preserve_original": ""
                        },
                        "truncate_keyword": {
                            "type": "truncate_norm",
                            "length": 5000
                        },
                        "remove_empty": {
                            "type": "length",
                            "min": 1
                        },
                        "icutokrep_no_camel_split": {
                            "type": "icu_token_repair"
                        },
                        "icu_normalizer": {
                            "type": "icu_normalizer",
                            "name": "nfkc_cf"
                        },
                        "smartcn_stop": {
                            "type": "stop",
                            "stopwords": [
                                ","
                            ]
                        },
                        "weighted_tags_term_freq": {
                            "type": "term_freq",
                            "split_char": "|",
                            "max_tf": 1000
                        },
                        "icu_folding": {
                            "type": "icu_folding"
                        },
                        "icu_nfkc_normalization": {
                            "type": "icu_normalizer",
                            "name": "nfkc"
                        }
                    },
                    "tokenizer": {
                        "prefix": {
                            "type": "edge_ngram",
                            "max_gram": 255
                        },
                        "no_splitting": {
                            "type": "keyword"
                        },
                        "trigram": {
                            "type": "nGram",
                            "min_gram": 3,
                            "max_gram": 3
                        }
                    },
                    "char_filter": {
                        "near_space_flattener": {
                            "type": "limited_mapping",
                            "mappings": [
                                "'=>\\u0020",
                                "\\u2019=>\\u0020",
                                "\\u02BC=>\\u0020",
                                "_=>\\u0020",
                                "-=>\\u0020"
                            ]
                        },
                        "nnbsp_norm": {
                            "type": "limited_mapping",
                            "mappings": [
                                "\\u202F=>\\u0020"
                            ]
                        },
                        "regex_camelCase": {
                            "type": "pattern_replace",
                            "pattern": "(\\p{Ll}[\\p{M}\\p{Cf}]*)([\\p{Lu}\\p{Lt}])",
                            "replacement": "$1 $2"
                        },
                        "regex_acronym_fixer": {
                            "type": "pattern_replace",
                            "pattern": "(?<=(?:^|\\P{L})\\p{L})[.\uff0e](\\p{L})(?=\\P{L}|$)",
                            "replacement": "$1"
                        },
                        "globo_norm": {
                            "type": "mapping",
                            "mappings": [
                                "`=>'",
                                "\u00b4=>'",
                                "\u02b9=>'",
                                "\u02bb=>'",
                                "\u02bc=>'",
                                "\u02bd=>'",
                                "\u02be=>'",
                                "\u02bf=>'",
                                "\u02cb=>'",
                                "\u055a=>'",
                                "\\u05F3=>'",
                                "\u2018=>'",
                                "\u2019=>'",
                                "\u201b=>'",
                                "\u2032=>'",
                                "\u2035=>'",
                                "\ua78c=>'",
                                "\uff07=>'",
                                "\uff40=>'",
                                "\\u202F=>\\u0020",
                                "\u02c8=>",
                                "\u02cc=>",
                                "\\u0640=>",
                                "\u066c=>,",
                                "\u060c=>,",
                                "\u055b=>",
                                "\u055c=>",
                                "\u055e=>",
                                "\u00b5=>\u03bc",
                                "\\u05F0=>\\u05D5\\u05D5",
                                "\\u05F1=>\\u05D5\\u05D9",
                                "\\u05F2=>\\u05D9\\u05D9",
                                "\\uFB1F=>\\u05D9\\u05D9\\u05B7",
                                "\\u05D9\\u05B7\\u05D9=>\\u05D9\\u05D9\\u05B7",
                                "\u0d23\u0d4d\\u200D=>\u0d7a",
                                "\u0d28\u0d4d\\u200D=>\u0d7b",
                                "\u0d30\u0d4d\\u200D=>\u0d7c",
                                "\u0d32\u0d4d\\u200D=>\u0d7d",
                                "\u0d33\u0d4d\\u200D=>\u0d7e",
                                "\u09a4\u09cd\\u200D=>\u09ce",
                                "\\u061C=>"
                            ]
                        },
                        "arabic_extended_norm": {
                            "type": "limited_mapping",
                            "mappings": [
                                "\\uFB8E=>\\u0643",
                                "\\uFB8F=>\\u0643",
                                "\\uFB90=>\\u0643",
                                "\\uFB91=>\\u0643",
                                "\\u06A9=>\\u0643",
                                "\\u06AA=>\\u0643",
                                "\\uFEDB=>\\u0643",
                                "\\uFEDC=>\\u0643",
                                "\\uFED9=>\\u0643",
                                "\\uFEDA=>\\u0643",
                                "\\uFBFC=>\\u064A",
                                "\\uFBFD=>\\u064A",
                                "\\uFBFE=>\\u064A",
                                "\\uFBFF=>\\u064A",
                                "\\u06CC=>\\u064A",
                                "\\uFBE8=>\\u064A",
                                "\\uFBE9=>\\u064A",
                                "\\uFEEF=>\\u064A",
                                "\\uFEF0=>\\u064A",
                                "\\u0649=>\\u064A",
                                "\\u06CD=>\\u064A",
                                "\\uFBE4=>\\u064A",
                                "\\uFBE5=>\\u064A",
                                "\\uFBE6=>\\u064A",
                                "\\uFBE7=>\\u064A",
                                "\\u06D0=>\\u064A",
                                "\\uFBA6=>\\u0647",
                                "\\uFBA7=>\\u0647",
                                "\\uFBA8=>\\u0647",
                                "\\uFBA9=>\\u0647",
                                "\\u06C1=>\\u0647",
                                "\\u06C0=>\\u0647",
                                "\\uFBA4=>\\u0647",
                                "\\uFBA5=>\\u0647",
                                "\\u06D5=>\\u0647"
                            ]
                        },
                        "word_break_helper": {
                            "type": "limited_mapping",
                            "mappings": [
                                "_=>\\u0020",
                                ":=>\\u0020",
                                ".=>\\u0020",
                                "(=>\\u0020",
                                ")=>\\u0020",
                                "\uff0e=>\\u0020",
                                "\uff3f=>\\u0020",
                                "\uff1a=>\\u0020",
                                "\u00b7=>\\u0020"
                            ]
                        },
                        "word_break_helper_source_text": {
                            "type": "limited_mapping",
                            "mappings": [
                                "_=>\\u0020",
                                ".=>\\u0020",
                                "(=>\\u0020",
                                ")=>\\u0020",
                                ":=>\\u0020"
                            ]
                        },
                        "dotted_I_fix": {
                            "type": "limited_mapping",
                            "mappings": [
                                "\u0130=>I"
                            ]
                        },
                        "icu_normalizer": {
                            "type": "icu_normalizer",
                            "name": "nfkc_cf"
                        },
                        "tsconvert": {
                            "type": "stconvert",
                            "delimiter": "#",
                            "convert_type": "t2s"
                        },
                        "stconvertfix": {
                            "type": "mapping",
                            "mappings": [
                                "\\u606d\\u5f18=>\\u606d \\u5f18",
                                "\\u5138=>\\u3469"
                            ]
                        },
                        "invis_cleanup": {
                            "type": "mapping",
                            "mappings": [
                                "\\u200B=>\\u0020",
                                "\\u00AD=>",
                                "\\u200C=>",
                                "\\u200D=>",
                                "\\u2060=>",
                                "\\uFEFF=>",
                                "\\u200E=>",
                                "\\u200F=>",
                                "\\u202A=>",
                                "\\u202B=>",
                                "\\u202C=>",
                                "\\u202D=>",
                                "\\u202E=>",
                                "\\u2066=>",
                                "\\u2067=>",
                                "\\u2068=>",
                                "\\u2069=>",
                                "\\u2061=>",
                                "\\u2062=>",
                                "\\u2063=>",
                                "\\u2064=>",
                                "\ufe00=>",
                                "\ufe01=>",
                                "\ufe02=>",
                                "\ufe03=>",
                                "\ufe04=>",
                                "\ufe05=>",
                                "\ufe06=>",
                                "\ufe07=>",
                                "\ufe08=>",
                                "\ufe09=>",
                                "\ufe0a=>",
                                "\ufe0b=>",
                                "\ufe0c=>",
                                "\ufe0d=>",
                                "\ufe0e=>",
                                "\ufe0f=>",
                                "\udb40\udd00=>",
                                "\udb40\udd01=>",
                                "\udb40\udd02=>",
                                "\udb40\udd03=>",
                                "\udb40\udd04=>",
                                "\udb40\udd05=>",
                                "\udb40\udd06=>",
                                "\udb40\udd07=>",
                                "\udb40\udd08=>",
                                "\udb40\udd09=>",
                                "\udb40\udd0a=>",
                                "\udb40\udd0b=>",
                                "\udb40\udd0c=>",
                                "\udb40\udd0d=>",
                                "\udb40\udd0e=>",
                                "\udb40\udd0f=>",
                                "\udb40\udd10=>",
                                "\udb40\udd11=>",
                                "\udb40\udd12=>",
                                "\udb40\udd13=>",
                                "\udb40\udd14=>",
                                "\udb40\udd15=>",
                                "\udb40\udd16=>",
                                "\udb40\udd17=>",
                                "\udb40\udd18=>",
                                "\udb40\udd19=>",
                                "\udb40\udd1a=>",
                                "\udb40\udd1b=>",
                                "\udb40\udd1c=>",
                                "\udb40\udd1d=>",
                                "\udb40\udd1e=>",
                                "\udb40\udd1f=>",
                                "\udb40\udd20=>",
                                "\udb40\udd21=>",
                                "\udb40\udd22=>",
                                "\udb40\udd23=>",
                                "\udb40\udd24=>",
                                "\udb40\udd25=>",
                                "\udb40\udd26=>",
                                "\udb40\udd27=>",
                                "\udb40\udd28=>",
                                "\udb40\udd29=>",
                                "\udb40\udd2a=>",
                                "\udb40\udd2b=>",
                                "\udb40\udd2c=>",
                                "\udb40\udd2d=>",
                                "\udb40\udd2e=>",
                                "\udb40\udd2f=>",
                                "\udb40\udd30=>",
                                "\udb40\udd31=>",
                                "\udb40\udd32=>",
                                "\udb40\udd33=>",
                                "\udb40\udd34=>",
                                "\udb40\udd35=>",
                                "\udb40\udd36=>",
                                "\udb40\udd37=>",
                                "\udb40\udd38=>",
                                "\udb40\udd39=>",
                                "\udb40\udd3a=>",
                                "\udb40\udd3b=>",
                                "\udb40\udd3c=>",
                                "\udb40\udd3d=>",
                                "\udb40\udd3e=>",
                                "\udb40\udd3f=>",
                                "\udb40\udd40=>",
                                "\udb40\udd41=>",
                                "\udb40\udd42=>",
                                "\udb40\udd43=>",
                                "\udb40\udd44=>",
                                "\udb40\udd45=>",
                                "\udb40\udd46=>",
                                "\udb40\udd47=>",
                                "\udb40\udd48=>",
                                "\udb40\udd49=>",
                                "\udb40\udd4a=>",
                                "\udb40\udd4b=>",
                                "\udb40\udd4c=>",
                                "\udb40\udd4d=>",
                                "\udb40\udd4e=>",
                                "\udb40\udd4f=>",
                                "\udb40\udd50=>",
                                "\udb40\udd51=>",
                                "\udb40\udd52=>",
                                "\udb40\udd53=>",
                                "\udb40\udd54=>",
                                "\udb40\udd55=>",
                                "\udb40\udd56=>",
                                "\udb40\udd57=>",
                                "\udb40\udd58=>",
                                "\udb40\udd59=>",
                                "\udb40\udd5a=>",
                                "\udb40\udd5b=>",
                                "\udb40\udd5c=>",
                                "\udb40\udd5d=>",
                                "\udb40\udd5e=>",
                                "\udb40\udd5f=>",
                                "\udb40\udd60=>",
                                "\udb40\udd61=>",
                                "\udb40\udd62=>",
                                "\udb40\udd63=>",
                                "\udb40\udd64=>",
                                "\udb40\udd65=>",
                                "\udb40\udd66=>",
                                "\udb40\udd67=>",
                                "\udb40\udd68=>",
                                "\udb40\udd69=>",
                                "\udb40\udd6a=>",
                                "\udb40\udd6b=>",
                                "\udb40\udd6c=>",
                                "\udb40\udd6d=>",
                                "\udb40\udd6e=>",
                                "\udb40\udd6f=>",
                                "\udb40\udd70=>",
                                "\udb40\udd71=>",
                                "\udb40\udd72=>",
                                "\udb40\udd73=>",
                                "\udb40\udd74=>",
                                "\udb40\udd75=>",
                                "\udb40\udd76=>",
                                "\udb40\udd77=>",
                                "\udb40\udd78=>",
                                "\udb40\udd79=>",
                                "\udb40\udd7a=>",
                                "\udb40\udd7b=>",
                                "\udb40\udd7c=>",
                                "\udb40\udd7d=>",
                                "\udb40\udd7e=>",
                                "\udb40\udd7f=>",
                                "\udb40\udd80=>",
                                "\udb40\udd81=>",
                                "\udb40\udd82=>",
                                "\udb40\udd83=>",
                                "\udb40\udd84=>",
                                "\udb40\udd85=>",
                                "\udb40\udd86=>",
                                "\udb40\udd87=>",
                                "\udb40\udd88=>",
                                "\udb40\udd89=>",
                                "\udb40\udd8a=>",
                                "\udb40\udd8b=>",
                                "\udb40\udd8c=>",
                                "\udb40\udd8d=>",
                                "\udb40\udd8e=>",
                                "\udb40\udd8f=>",
                                "\udb40\udd90=>",
                                "\udb40\udd91=>",
                                "\udb40\udd92=>",
                                "\udb40\udd93=>",
                                "\udb40\udd94=>",
                                "\udb40\udd95=>",
                                "\udb40\udd96=>",
                                "\udb40\udd97=>",
                                "\udb40\udd98=>",
                                "\udb40\udd99=>",
                                "\udb40\udd9a=>",
                                "\udb40\udd9b=>",
                                "\udb40\udd9c=>",
                                "\udb40\udd9d=>",
                                "\udb40\udd9e=>",
                                "\udb40\udd9f=>",
                                "\udb40\udda0=>",
                                "\udb40\udda1=>",
                                "\udb40\udda2=>",
                                "\udb40\udda3=>",
                                "\udb40\udda4=>",
                                "\udb40\udda5=>",
                                "\udb40\udda6=>",
                                "\udb40\udda7=>",
                                "\udb40\udda8=>",
                                "\udb40\udda9=>",
                                "\udb40\uddaa=>",
                                "\udb40\uddab=>",
                                "\udb40\uddac=>",
                                "\udb40\uddad=>",
                                "\udb40\uddae=>",
                                "\udb40\uddaf=>",
                                "\udb40\uddb0=>",
                                "\udb40\uddb1=>",
                                "\udb40\uddb2=>",
                                "\udb40\uddb3=>",
                                "\udb40\uddb4=>",
                                "\udb40\uddb5=>",
                                "\udb40\uddb6=>",
                                "\udb40\uddb7=>",
                                "\udb40\uddb8=>",
                                "\udb40\uddb9=>",
                                "\udb40\uddba=>",
                                "\udb40\uddbb=>",
                                "\udb40\uddbc=>",
                                "\udb40\uddbd=>",
                                "\udb40\uddbe=>",
                                "\udb40\uddbf=>",
                                "\udb40\uddc0=>",
                                "\udb40\uddc1=>",
                                "\udb40\uddc2=>",
                                "\udb40\uddc3=>",
                                "\udb40\uddc4=>",
                                "\udb40\uddc5=>",
                                "\udb40\uddc6=>",
                                "\udb40\uddc7=>",
                                "\udb40\uddc8=>",
                                "\udb40\uddc9=>",
                                "\udb40\uddca=>",
                                "\udb40\uddcb=>",
                                "\udb40\uddcc=>",
                                "\udb40\uddcd=>",
                                "\udb40\uddce=>",
                                "\udb40\uddcf=>",
                                "\udb40\uddd0=>",
                                "\udb40\uddd1=>",
                                "\udb40\uddd2=>",
                                "\udb40\uddd3=>",
                                "\udb40\uddd4=>",
                                "\udb40\uddd5=>",
                                "\udb40\uddd6=>",
                                "\udb40\uddd7=>",
                                "\udb40\uddd8=>",
                                "\udb40\uddd9=>",
                                "\udb40\uddda=>",
                                "\udb40\udddb=>",
                                "\udb40\udddc=>",
                                "\udb40\udddd=>",
                                "\udb40\uddde=>",
                                "\udb40\udddf=>",
                                "\udb40\udde0=>",
                                "\udb40\udde1=>",
                                "\udb40\udde2=>",
                                "\udb40\udde3=>",
                                "\udb40\udde4=>",
                                "\udb40\udde5=>",
                                "\udb40\udde6=>",
                                "\udb40\udde7=>",
                                "\udb40\udde8=>",
                                "\udb40\udde9=>",
                                "\udb40\uddea=>",
                                "\udb40\uddeb=>",
                                "\udb40\uddec=>",
                                "\udb40\udded=>",
                                "\udb40\uddee=>",
                                "\udb40\uddef=>"
                            ]
                        }
                    },
                    "normalizer": {
                        "lowercase_keyword": {
                            "type": "custom",
                            "filter": [
                                "truncate_keyword",
                                "icu_normalizer"
                            ]
                        },
                        "keyword": {
                            "type": "custom",
                            "filter": [
                                "truncate_keyword"
                            ]
                        }
                    }
                },
                "query": {
                    "default_field": "all"
                },
                "similarity": {
                    "default": {
                        "type": "BM25"
                    },
                    "arrays": {
                        "type": "BM25",
                        "k1": 1.2,
                        "b": 0.3
                    },
                    "weighted_tags_similarity": {
                        "type": "scripted",
                        "script": {
                            "source": "return (doc.freq*query.boost)/1000;"
                        }
                    }
                }
            },
            "indexing.slowlog.threshold.index.warn": "10s",
            "indexing.slowlog.threshold.index.info": "5s",
            "indexing.slowlog.threshold.index.debug": "2s",
            "indexing.slowlog.threshold.index.trace": -1,
            "search.slowlog.threshold.query.warn": "60s",
            "search.slowlog.threshold.query.info": "10s",
            "search.slowlog.threshold.query.debug": "5s",
            "search.slowlog.threshold.query.trace": -1,
            "search.slowlog.threshold.fetch.warn": "10s",
            "search.slowlog.threshold.fetch.info": "5s",
            "search.slowlog.threshold.fetch.debug": "1s",
            "search.slowlog.threshold.fetch.trace": "-1",
            "merge.scheduler.max_thread_count": 1
        },
        "mappings": {
            "properties": {
                "timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "create_timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "page_id": {
                    "type": "long"
                },
                "wiki": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "namespace": {
                    "type": "long"
                },
                "namespace_text": {
                    "type": "keyword",
                    "doc_values": "",
                    "normalizer": "keyword"
                },
                "title": {
                    "type": "text",
                    "copy_to": [
                        "suggest",
                        "suggest_variant",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match",
                        "all_near_match"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25"
                        },
                        "prefix": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "prefix",
                            "search_analyzer": "near_match",
                            "index_options": "docs"
                        },
                        "prefix_asciifolding": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "prefix_asciifolding",
                            "search_analyzer": "near_match_asciifolding",
                            "index_options": "docs"
                        },
                        "near_match": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "near_match",
                            "index_options": "docs"
                        },
                        "near_match_asciifolding": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "near_match_asciifolding",
                            "index_options": "docs"
                        },
                        "keyword": {
                            "similarity": "BM25",
                            "type": "keyword",
                            "normalizer": "keyword"
                        },
                        "natural_sort": {
                            "similarity": "BM25",
                            "type": "icu_collation_keyword",
                            "ignore_above": 5000,
                            "numeric": "",
                            "strength": "tertiary",
                            "language": "zh"
                        },
                        "trigram": {
                            "similarity": "BM25",
                            "type": "text",
                            "analyzer": "trigram_anchored",
                            "search_analyzer": "trigram",
                            "index_options": "docs"
                        }
                    }
                },
                "text": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        },
                        "word_count": {
                            "type": "token_count",
                            "analyzer": "plain"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all"
                    ]
                },
                "text_bytes": {
                    "type": "long"
                },
                "source_text": {
                    "type": "text",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "source_text_plain",
                            "search_analyzer": "source_text_plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        },
                        "trigram": {
                            "type": "text",
                            "analyzer": "trigram",
                            "index_options": "docs"
                        }
                    }
                },
                "redirect": {
                    "properties": {
                        "namespace": {
                            "type": "long"
                        },
                        "title": {
                            "type": "text",
                            "copy_to": [
                                "suggest",
                                "suggest_variant",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match",
                                "all_near_match"
                            ],
                            "analyzer": "text",
                            "search_analyzer": "text_search",
                            "position_increment_gap": 10,
                            "similarity": "arrays",
                            "fields": {
                                "plain": {
                                    "type": "text",
                                    "analyzer": "plain",
                                    "search_analyzer": "plain_search",
                                    "position_increment_gap": 10,
                                    "similarity": "arrays",
                                    "index_options": "offsets"
                                },
                                "prefix": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "prefix",
                                    "search_analyzer": "near_match",
                                    "index_options": "offsets"
                                },
                                "prefix_asciifolding": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "prefix_asciifolding",
                                    "search_analyzer": "near_match_asciifolding",
                                    "index_options": "offsets"
                                },
                                "near_match": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "near_match",
                                    "index_options": "offsets"
                                },
                                "near_match_asciifolding": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "near_match_asciifolding",
                                    "index_options": "offsets"
                                },
                                "keyword": {
                                    "similarity": "arrays",
                                    "type": "keyword",
                                    "normalizer": "keyword"
                                },
                                "natural_sort": {
                                    "similarity": "arrays",
                                    "type": "icu_collation_keyword",
                                    "ignore_above": 5000,
                                    "numeric": "",
                                    "strength": "tertiary",
                                    "language": "zh"
                                },
                                "trigram": {
                                    "similarity": "arrays",
                                    "type": "text",
                                    "analyzer": "trigram_anchored",
                                    "search_analyzer": "trigram",
                                    "index_options": "docs"
                                }
                            },
                            "index_options": "offsets"
                        }
                    }
                },
                "incoming_links": {
                    "type": "long"
                },
                "local_sites_with_dupe": {
                    "type": "keyword",
                    "normalizer": "lowercase_keyword"
                },
                "suggest": {
                    "type": "text",
                    "similarity": "arrays",
                    "index_options": "freqs",
                    "analyzer": "suggest"
                },
                "suggest_variant": {
                    "type": "text",
                    "similarity": "arrays",
                    "index_options": "freqs",
                    "analyzer": "suggest"
                },
                "category": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "arrays",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "arrays",
                            "index_options": "offsets"
                        },
                        "lowercase_keyword": {
                            "similarity": "arrays",
                            "type": "keyword",
                            "normalizer": "lowercase_keyword"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ]
                },
                "external_link": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "outgoing_link": {
                    "type": "keyword",
                    "normalizer": "keyword",
                    "fields": {
                        "token_count": {
                            "type": "token_count",
                            "analyzer": "keyword"
                        }
                    }
                },
                "template": {
                    "type": "keyword",
                    "normalizer": "lowercase_keyword",
                    "fields": {
                        "keyword": {
                            "type": "keyword",
                            "normalizer": "keyword"
                        }
                    }
                },
                "content_model": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "language": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "heading": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "arrays",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "arrays",
                            "index_options": "offsets"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ]
                },
                "auxiliary_text": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all"
                    ]
                },
                "opening_text": {
                    "type": "text",
                    "copy_to": [
                        "suggest_variant",
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25"
                        }
                    }
                },
                "file_media_type": {
                    "type": "keyword",
                    "normalizer": "lowercase_keyword"
                },
                "file_mime": {
                    "type": "text",
                    "analyzer": "short_text",
                    "search_analyzer": "short_text_search"
                },
                "file_size": {
                    "type": "long"
                },
                "file_width": {
                    "type": "long"
                },
                "file_height": {
                    "type": "long"
                },
                "file_bits": {
                    "type": "long"
                },
                "file_resolution": {
                    "type": "long"
                },
                "file_text": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25",
                            "index_options": "offsets"
                        }
                    },
                    "index_options": "offsets",
                    "copy_to": [
                        "all"
                    ]
                },
                "weighted_tags": {
                    "type": "text",
                    "analyzer": "weighted_tags",
                    "search_analyzer": "keyword",
                    "index_options": "freqs",
                    "similarity": "weighted_tags_similarity"
                },
                "popularity_score": {
                    "type": "double"
                },
                "wikibase_item": {
                    "type": "keyword",
                    "normalizer": "keyword"
                },
                "all": {
                    "type": "text",
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10,
                    "similarity": "BM25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10,
                            "similarity": "BM25"
                        }
                    }
                },
                "all_near_match": {
                    "type": "text",
                    "analyzer": "near_match",
                    "index_options": "freqs",
                    "similarity": "BM25",
                    "fields": {
                        "asciifolding": {
                            "type": "text",
                            "analyzer": "near_match_asciifolding",
                            "index_options": "freqs",
                            "similarity": "BM25"
                        }
                    }
                }
            }
        }
    },
    "titlesuggest": {
        "settings": {
            "index": {
                "number_of_shards": 1,
                "auto_expand_replicas": "0-2",
                "refresh_interval": "30s",
                "analysis": {
                    "char_filter": {
                        "word_break_helper": {
                            "type": "mapping",
                            "mappings": [
                                "_=>\\u0020",
                                ",=>\\u0020",
                                "\"=>\\u0020",
                                "-=>\\u0020",
                                "'=>\\u0020",
                                "\\u2019=>\\u0020",
                                "\\u02BC=>\\u0020",
                                ";=>\\u0020",
                                "\\[=>\\u0020",
                                "\\]=>\\u0020",
                                "{=>\\u0020",
                                "}=>\\u0020",
                                "\\\\=>\\u0020",
                                "\\u00a0=>\\u0020",
                                "\\u1680=>\\u0020",
                                "\\u180e=>\\u0020",
                                "\\u2000=>\\u0020",
                                "\\u2001=>\\u0020",
                                "\\u2002=>\\u0020",
                                "\\u2003=>\\u0020",
                                "\\u2004=>\\u0020",
                                "\\u2005=>\\u0020",
                                "\\u2006=>\\u0020",
                                "\\u2007=>\\u0020",
                                "\\u2008=>\\u0020",
                                "\\u2009=>\\u0020",
                                "\\u200a=>\\u0020",
                                "\\u200b=>\\u0020",
                                "\\u200c=>\\u0020",
                                "\\u200d=>\\u0020",
                                "\\u202f=>\\u0020",
                                "\\u205f=>\\u0020",
                                "\\u3000=>\\u0020",
                                "\\ufeff=>\\u0020"
                            ]
                        }
                    },
                    "filter": {
                        "stop_filter": {
                            "type": "stop",
                            "stopwords": "_none_",
                            "remove_trailing": "true"
                        },
                        "lowercase": {
                            "type": "icu_normalizer",
                            "name": "nfkc_cf"
                        },
                        "accentfolding": {
                            "type": "icu_folding"
                        },
                        "token_limit": {
                            "type": "limit",
                            "max_token_count": "20"
                        },
                        "remove_empty": {
                            "type": "length",
                            "min": 1
                        }
                    },
                    "analyzer": {
                        "stop_analyzer": {
                            "type": "custom",
                            "filter": [
                                "icu_normalizer",
                                "stop_filter",
                                "accentfolding",
                                "remove_empty",
                                "token_limit"
                            ],
                            "tokenizer": "icu_tokenizer"
                        },
                        "stop_analyzer_search": {
                            "type": "custom",
                            "filter": [
                                "icu_normalizer",
                                "accentfolding",
                                "remove_empty",
                                "token_limit"
                            ],
                            "tokenizer": "icu_tokenizer"
                        },
                        "plain": {
                            "type": "custom",
                            "char_filter": [
                                "word_break_helper"
                            ],
                            "filter": [
                                "remove_empty",
                                "token_limit",
                                "lowercase"
                            ],
                            "tokenizer": "whitespace"
                        },
                        "plain_search": {
                            "type": "custom",
                            "char_filter": [
                                "word_break_helper"
                            ],
                            "filter": [
                                "remove_empty",
                                "token_limit",
                                "lowercase"
                            ],
                            "tokenizer": "whitespace"
                        }
                    }
                },
                "query": {
                    "default_field": "all"
                },
                "similarity": {
                    "default": {
                        "type": "BM25"
                    },
                    "arrays": {
                        "type": "BM25",
                        "k1": 1.2,
                        "b": 0.3
                    },
                    "weighted_tags_similarity": {
                        "type": "scripted",
                        "script": {
                            "source": "return (doc.freq*query.boost)/1000;"
                        }
                    }
                }
            },
            "indexing.slowlog.threshold.index.warn": "10s",
            "indexing.slowlog.threshold.index.info": "5s",
            "indexing.slowlog.threshold.index.debug": "2s",
            "indexing.slowlog.threshold.index.trace": -1,
            "search.slowlog.threshold.query.warn": "60s",
            "search.slowlog.threshold.query.info": "10s",
            "search.slowlog.threshold.query.debug": "5s",
            "search.slowlog.threshold.query.trace": -1,
            "search.slowlog.threshold.fetch.warn": "10s",
            "search.slowlog.threshold.fetch.info": "5s",
            "search.slowlog.threshold.fetch.debug": "1s",
            "search.slowlog.threshold.fetch.trace": "-1",
            "merge.scheduler.max_thread_count": 1
        },
        "mappings": {
            "properties": {
                "batch_id": {
                    "type": "long"
                },
                "source_doc_id": {
                    "type": "keyword"
                },
                "suggest": {
                    "type": "completion",
                    "analyzer": "plain",
                    "search_analyzer": "plain_search",
                    "max_input_length": 255
                },
                "suggest-stop": {
                    "type": "completion",
                    "analyzer": "stop_analyzer",
                    "search_analyzer": "stop_analyzer_search",
                    "max_input_length": 255
                }
            }
        }
    }
}