Sunday 15 May 2011

php - single space issue in bing search api? -



php - single space issue in bing search api? -

i integrating bing search api website. using bing image search. working fine me when search image website got 1 big issue. issue details given below

$query= 'kamen rider site: http://p-bandai.jp/'; $query = urlencode("'$query'");

when search bing api right images came. when search keyword don't have results. code given below

$query= 'tomica disney site: http://p-bandai.jp/'; $query = urlencode("'$query'");

i got issue creating place. dont know how solve issue.

issue : when search tomica disney site: http://p-bandai.jp/ dont results. when search tomica disneysite: http://p-bandai.jp/ got results. please give me solutions.

you not getting results because bing not have in index website , query. check out: http://www.bing.com/images/search?q=tomica%20disney%20site%3ap-bandai.jp

site: limits results coming 1 website. since, in sec case, don't have space between disney , site:, site: constraint not working , results returned index of websites.

to summarize: bing (and google well) not have in index website p-bandai.jp query 'tamica disney'. in sec case works because mistyped query , site: constraint not applied.

php api space bing bing-search

No comments:

Post a Comment