高级搜索:标签的分离
Advanced search: disjunction of tags
我想使用析取(而不是默认的连词)对标签进行高级搜索。
比如我想要tagged=python-asyncio;python-trio to return a superset of the results from tagged=python-asyncio.
但是,对于这两个标签,我有:
{
"items": [],
}
仅 python-asyncio
我有:
"items": [
{
"tags": [
"python",
"redis",
"python-asyncio",
"publish-subscribe"
],
"some more stuff"
},
"more questions"
]
这有点奇怪,因为文档建议它应该 return 来自两个标签的结果的联合:
tagged
- a semicolon delimited list of tags, of which at least one will be present on all returned questions.
这是否可以在不发出多个请求的情况下实现?
q
参数虽然没有记录,但允许大多数搜索选项。在搜索中,您使用 [x] or [y]
来获取标记为 x, y or both. You therefore need to set q
to [python-trio] or [python-asyncio]
, as you'd do in search.
的问题
我想使用析取(而不是默认的连词)对标签进行高级搜索。
比如我想要tagged=python-asyncio;python-trio to return a superset of the results from tagged=python-asyncio.
但是,对于这两个标签,我有:
{
"items": [],
}
仅 python-asyncio
我有:
"items": [
{
"tags": [
"python",
"redis",
"python-asyncio",
"publish-subscribe"
],
"some more stuff"
},
"more questions"
]
这有点奇怪,因为文档建议它应该 return 来自两个标签的结果的联合:
tagged
- a semicolon delimited list of tags, of which at least one will be present on all returned questions.
这是否可以在不发出多个请求的情况下实现?
q
参数虽然没有记录,但允许大多数搜索选项。在搜索中,您使用 [x] or [y]
来获取标记为 x, y or both. You therefore need to set q
to [python-trio] or [python-asyncio]
, as you'd do in search.