开发者

Bing: search - match only exact literal strings?

I'm using PHP and the Bing API to search for certain domainnames. I want only the results that are an EXACT match.

Somehow Bing returns results that do not match exactly.

When I search for :

"www.gebouw.nl"

I sometimes also get results like "www.gprgebouw.nl"

Is the开发者_高级运维re a way to tell Bing to search only for EXACT matches?


Try adding a plus sign to your query. e.g. +www.gebouw.nl which is %2Bwww.gebouw.nl when url encoded

http://www.google.com/support/websearch/bin/answer.py?answer=136861

http://onlinehelp.microsoft.com/en-us/bing/ff808438.aspx


Could WebSearchOptions='DisableQueryAlterations' be the key to this? As per API documentation, "DisableQueryAlterations Prevents Bing from altering the query string. Such alteration may have been done to correct apparent spelling error in the original query string."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜