MediaWiki API 结果

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

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

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

{
    "content": {
        "page": {
            "dynamic": "false",
            "dynamic_templates": [
                {
                    "message_full": {
                        "match": "message_full",
                        "mapping": {
                            "fields": {
                                "keyword": {
                                    "ignore_above": 2048,
                                    "type": "keyword"
                                }
                            },
                            "type": "text"
                        }
                    }
                },
                {
                    "message": {
                        "match": "message",
                        "mapping": {
                            "type": "text"
                        }
                    }
                },
                {
                    "strings": {
                        "match_mapping_type": "string",
                        "mapping": {
                            "type": "keyword"
                        }
                    }
                }
            ],
            "properties": {
                "all": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "all_near_match": {
                    "type": "text",
                    "index_options": "freqs",
                    "similarity": "classic",
                    "fields": {
                        "asciifolding": {
                            "type": "text",
                            "index_options": "freqs",
                            "similarity": "classic",
                            "analyzer": "near_match_asciifolding"
                        }
                    },
                    "analyzer": "near_match"
                },
                "auxiliary_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "category": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "lowercase_keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "lowercase_keyword"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "content_model": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "create_timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "external_link": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "file_bits": {
                    "type": "long"
                },
                "file_height": {
                    "type": "long"
                },
                "file_media_type": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "file_mime": {
                    "type": "text",
                    "analyzer": "short_text",
                    "search_analyzer": "short_text_search"
                },
                "file_resolution": {
                    "type": "long"
                },
                "file_size": {
                    "type": "long"
                },
                "file_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "file_width": {
                    "type": "long"
                },
                "game_name": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "heading": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "incoming_links": {
                    "type": "long"
                },
                "language": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "local_sites_with_dupe": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "namespace": {
                    "type": "long"
                },
                "namespace_text": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "opening_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "outgoing_link": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "redirect": {
                    "dynamic": "false",
                    "properties": {
                        "game_name": {
                            "type": "text",
                            "index_options": "docs",
                            "analyzer": "keyword"
                        },
                        "namespace": {
                            "type": "long"
                        },
                        "title": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "fields": {
                                "keyword": {
                                    "type": "text",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "keyword"
                                },
                                "near_match": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "near_match"
                                },
                                "near_match_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "near_match_asciifolding"
                                },
                                "plain": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "similarity": "classic",
                                    "analyzer": "plain",
                                    "search_analyzer": "plain_search",
                                    "position_increment_gap": 10
                                },
                                "prefix": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "prefix",
                                    "search_analyzer": "near_match"
                                },
                                "prefix_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "prefix_asciifolding",
                                    "search_analyzer": "near_match_asciifolding"
                                }
                            },
                            "copy_to": [
                                "suggest",
                                "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
                        }
                    }
                },
                "source_text": {
                    "type": "text",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "source_text_plain",
                            "search_analyzer": "source_text_plain_search",
                            "position_increment_gap": 10
                        }
                    }
                },
                "suggest": {
                    "type": "text",
                    "index_options": "freqs",
                    "similarity": "classic",
                    "analyzer": "suggest"
                },
                "template": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        },
                        "word_count": {
                            "type": "token_count",
                            "store": "",
                            "analyzer": "plain"
                        }
                    },
                    "copy_to": [
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "text_bytes": {
                    "type": "long"
                },
                "timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "title": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "keyword"
                        },
                        "near_match": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "near_match"
                        },
                        "near_match_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "near_match_asciifolding"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        },
                        "prefix": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "prefix",
                            "search_analyzer": "near_match"
                        },
                        "prefix_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "prefix_asciifolding",
                            "search_analyzer": "near_match_asciifolding"
                        }
                    },
                    "copy_to": [
                        "suggest",
                        "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
                },
                "wiki": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                }
            }
        }
    },
    "general": {
        "page": {
            "dynamic": "false",
            "dynamic_templates": [
                {
                    "message_full": {
                        "match": "message_full",
                        "mapping": {
                            "fields": {
                                "keyword": {
                                    "ignore_above": 2048,
                                    "type": "keyword"
                                }
                            },
                            "type": "text"
                        }
                    }
                },
                {
                    "message": {
                        "match": "message",
                        "mapping": {
                            "type": "text"
                        }
                    }
                },
                {
                    "strings": {
                        "match_mapping_type": "string",
                        "mapping": {
                            "type": "keyword"
                        }
                    }
                }
            ],
            "properties": {
                "all": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "all_near_match": {
                    "type": "text",
                    "index_options": "freqs",
                    "similarity": "classic",
                    "fields": {
                        "asciifolding": {
                            "type": "text",
                            "index_options": "freqs",
                            "similarity": "classic",
                            "analyzer": "near_match_asciifolding"
                        }
                    },
                    "analyzer": "near_match"
                },
                "auxiliary_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "category": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "lowercase_keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "lowercase_keyword"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "content_model": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "create_timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "external_link": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "file_bits": {
                    "type": "long"
                },
                "file_height": {
                    "type": "long"
                },
                "file_media_type": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "file_mime": {
                    "type": "text",
                    "analyzer": "short_text",
                    "search_analyzer": "short_text_search"
                },
                "file_resolution": {
                    "type": "long"
                },
                "file_size": {
                    "type": "long"
                },
                "file_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "file_width": {
                    "type": "long"
                },
                "game_name": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "heading": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all",
                        "all",
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "incoming_links": {
                    "type": "long"
                },
                "language": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "local_sites_with_dupe": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "namespace": {
                    "type": "long"
                },
                "namespace_text": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "opening_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "copy_to": [
                        "all",
                        "all",
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "outgoing_link": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                },
                "redirect": {
                    "dynamic": "false",
                    "properties": {
                        "game_name": {
                            "type": "text",
                            "index_options": "docs",
                            "analyzer": "keyword"
                        },
                        "namespace": {
                            "type": "long"
                        },
                        "title": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "fields": {
                                "keyword": {
                                    "type": "text",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "keyword"
                                },
                                "near_match": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "near_match"
                                },
                                "near_match_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "near_match_asciifolding"
                                },
                                "plain": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "similarity": "classic",
                                    "analyzer": "plain",
                                    "search_analyzer": "plain_search",
                                    "position_increment_gap": 10
                                },
                                "prefix": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "prefix",
                                    "search_analyzer": "near_match"
                                },
                                "prefix_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "classic",
                                    "analyzer": "prefix_asciifolding",
                                    "search_analyzer": "near_match_asciifolding"
                                }
                            },
                            "copy_to": [
                                "suggest",
                                "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
                        }
                    }
                },
                "source_text": {
                    "type": "text",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "source_text_plain",
                            "search_analyzer": "source_text_plain_search",
                            "position_increment_gap": 10
                        }
                    }
                },
                "suggest": {
                    "type": "text",
                    "index_options": "freqs",
                    "similarity": "classic",
                    "analyzer": "suggest"
                },
                "template": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        },
                        "word_count": {
                            "type": "token_count",
                            "store": "",
                            "analyzer": "plain"
                        }
                    },
                    "copy_to": [
                        "all"
                    ],
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "text_bytes": {
                    "type": "long"
                },
                "timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "title": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "keyword"
                        },
                        "near_match": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "near_match"
                        },
                        "near_match_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "near_match_asciifolding"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        },
                        "prefix": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "prefix",
                            "search_analyzer": "near_match"
                        },
                        "prefix_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "classic",
                            "analyzer": "prefix_asciifolding",
                            "search_analyzer": "near_match_asciifolding"
                        }
                    },
                    "copy_to": [
                        "suggest",
                        "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
                },
                "wiki": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                }
            }
        }
    },
    "archive": {
        "archive": {
            "dynamic": "false",
            "dynamic_templates": [
                {
                    "message_full": {
                        "match": "message_full",
                        "mapping": {
                            "fields": {
                                "keyword": {
                                    "ignore_above": 2048,
                                    "type": "keyword"
                                }
                            },
                            "type": "text"
                        }
                    }
                },
                {
                    "message": {
                        "match": "message",
                        "mapping": {
                            "type": "text"
                        }
                    }
                },
                {
                    "strings": {
                        "match_mapping_type": "string",
                        "mapping": {
                            "type": "keyword"
                        }
                    }
                }
            ],
            "properties": {
                "namespace": {
                    "type": "long"
                },
                "title": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "classic",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "classic",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "wiki": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                }
            }
        }
    }
}