0

为什么会调用 Bing API 的新闻搜索端点...

https://api.cognitive.microsoft.com/bing/v7.0/news/search?q="Highwire+Press"+OR+"Chrome+River"+OR+"PCA+Predict"+OR+"Backbase"+OR+"Arrivalist"+OR+"iotec"+OR+"Signafire"+OR+"Mirriad"&sortBy=Date&textDecorations=true&textFormat=HTML

...打开这个故事https://www.bizjournals.com/philadelphia/prnewswire/press_releases/Pennsylvania/2018/05/24/MN04495

...其中包含“ HighWire ”但不包含查询中给出的短语“ HighWire Press ”?

我在查询字符串中的多字子查询中找到其他松散示例......

为什么它似乎也产生https://www.independent.ie/business/technology/feeding-the-future-test-tube-trees-robots-picking-fruit-and-burgers-made-without-cows-36942007.html了结果?这似乎不包含任何匹配的内容。

4

1 回答 1

-1

对于严格/逐字匹配,您可以使用“+”运算符。例如,如果您只对 Highwire Press 感兴趣,则您的查询应为+Highwire Press。不需要引号。

此外,如果您想在所有搜索引擎中使用严格/逐字匹配,“OR”运算符的行为是可疑的。这使得相关性排名者很难权衡看起来的单词。可能您可以针对 ORed 术语分别进行 2 个查询。

于 2018-05-30T16:48:50.653 回答