strangeQuirks
strangeQuirks

Reputation: 5910

Google Custom Search API results empty while normal search has results

When I use the google custom search api, and search for a string sich as an email, the result back is nothing. However when I use the normal google search engine on the website, i get 2 results back. How come this happens? Is it an error in my custom search call or is it just because the API does return different results due to numerous reasons I have heard about such as to reduce harvesting.

Custom Search Call (note iv removed the key and cx values): https://www.googleapis.com:443/customsearch/v1/?fields=items%28link%2Ctitle%29&key=[key]&cx=[cx]&safe=high&q=%22jimmy.smith%40gmail.com%22&num=10

Normal search: https://www.google.de/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=%22jimmy.smith%40gmail.com%22

Upvotes: 2

Views: 1876

Answers (1)

Hugo Villero
Hugo Villero

Reputation: 21

Make sure you configuration for "Custom Search" in your search engine app located at Setup -> Basic (Tab) -> Sites to Search (Section) is set to "Search the entire web but emphasize include site" .

Upvotes: 2

Related Questions