维基百科 api 搜索标题生成器 [英] wikipedia api search titles generator
本文介绍了维基百科 api 搜索标题生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试使用生成器通过 api 搜索图块.我注意到有两种可能的生成器,但我都有问题:
Trying to search tiles through the api using a generator. I notice that there are two possible generators, with both I have problems:
- 前缀搜索 - 如果我有多个单词并且查询中的顺序颠倒,则效果不佳(例如,brian adams"会返回答案,但adams brian"不会
- 搜索 - 似乎不允许按标题搜索,只能按返回低质量结果的文本搜索.
有人知道解决这个问题的方法吗?
Anyone knows of a way around this?
推荐答案
"srwhat=title" 已禁用,因此您应该在搜索查询中使用 "intitle:":
"srwhat=title" is disabled, so you should use "intitle:" in your search query:
有关更多信息,请查看此页面:
for more info please check this page:
https://www.mediawiki.org/wiki/API:Search
这篇关于维基百科 api 搜索标题生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文