MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"profiles": {
"crossproject_block_scorer": {
"repositories": {
"cirrus_base": [
"static",
"recall",
"random",
"wmf_enwiki"
],
"cirrus_config": []
},
"contexts": {
"default": {
"code_default": "static",
"actual_default": "static",
"overriders": [
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchCrossProjectOrder",
"value": "static"
}
]
}
}
},
"similarity": {
"repositories": {
"cirrus_base": [
"bm25_with_defaults",
"bm25_tuned",
"bm25_browser_tests",
"wmf_defaults"
],
"cirrus_config": []
},
"contexts": {
"default": {
"code_default": "bm25_with_defaults",
"actual_default": "bm25_with_defaults",
"overriders": [
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchSimilarityProfile",
"value": "bm25_with_defaults"
}
]
}
}
},
"rescore": {
"repositories": {
"cirrus_base": [
"classic",
"classic_noboostlinks",
"empty",
"wsum_inclinks",
"wsum_inclinks_pv",
"popular_inclinks_pv",
"popular_inclinks"
],
"cirrus_config": []
},
"contexts": {
"default": {
"code_default": "classic",
"actual_default": "classic",
"overriders": [
{
"type": "uriParam",
"priority": 100,
"uriParam": "cirrusRescoreProfile"
},
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchRescoreProfile",
"value": "classic"
}
]
},
"prefixsearch": {
"code_default": "classic",
"actual_default": "classic",
"overriders": [
{
"type": "uriParam",
"priority": 100,
"uriParam": "cirrusRescoreProfile"
},
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchPrefixSearchRescoreProfile",
"value": "classic"
}
]
}
}
},
"rescore_function_chains": {
"repositories": {
"cirrus_base": [
"classic_allinone_chain",
"optional_chain",
"boostlinks_only_chain",
"wsum_inclinks",
"wsum_inclinks_pv",
"wsum_inclinks_pv+"
],
"cirrus_config": []
}
},
"completion": {
"repositories": {
"cirrus_base": [
"strict",
"normal",
"fuzzy",
"fast-fuzzy",
"classic"
],
"cirrus_config": []
},
"contexts": {
"default": {
"code_default": "fuzzy",
"actual_default": "fuzzy",
"overriders": [
{
"type": "userPreference",
"priority": 200,
"userPreference": "cirrussearch-pref-completion-profile"
},
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchCompletionSettings",
"value": "fuzzy"
}
]
}
}
},
"phrase_suggester": {
"repositories": {
"cirrus_base": [
"default",
"strict",
"alternative"
],
"cirrus_config": []
}
},
"index_lookup_fallback": {
"repositories": {
"cirrus_base": [
"glent"
],
"cirrus_config": []
}
},
"saneitizer": {
"repositories": {
"cirrus_base": [
"XS",
"S",
"M",
"L",
"XL",
"XXL"
]
}
},
"ft_query_builder": {
"repositories": {
"cirrus_base": [
"default",
"browser_tests",
"perfield_builder",
"perfield_builder_title_filter"
],
"cirrus_config": []
},
"contexts": {
"default": {
"code_default": "default",
"actual_default": "default",
"overriders": [
{
"type": "uriParam",
"priority": 100,
"uriParam": "cirrusFTQBProfile"
},
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchFullTextQueryBuilderProfile",
"value": "default"
}
]
}
}
},
"fallbacks": {
"repositories": {
"cirrus_base": [
"phrase_suggest_and_language_detection",
"phrase_suggest",
"phrase_suggest_strict",
"phrase_suggest_glentM0_and_langdetect",
"phrase_suggest_glentM01_and_langdetect",
"none"
],
"cirrus_config": []
},
"contexts": {
"default": {
"code_default": "none",
"actual_default": "phrase_suggest",
"overriders": [
{
"type": "uriParam",
"priority": 100,
"uriParam": "cirrusFallbackProfile"
},
{
"type": "config",
"priority": 400,
"configEntry": "CirrusSearchFallbackProfile",
"value": "phrase_suggest"
}
]
}
}
}
},
"contexts": {
"default": {
"crossproject_block_scorer": "static",
"similarity": "bm25_with_defaults",
"rescore": "classic",
"completion": "fuzzy",
"ft_query_builder": "default",
"fallbacks": "phrase_suggest"
},
"prefixsearch": {
"rescore": "classic"
}
}
}