Chapter 8. Web Search
The Cognitive Services Search APIs enable you to bring the power of Bing’s search capabilities to your applications. Through these APIs you can deliver instant answers to user queries. There are some restrictions on the usage of the Bing Search APIs: you cannot copy or store data from the service unless it’s as part of a limited search history, nor can you use the results as training data for machine learning services. Any API results must also be used for internet searches, and any use of the data has to be initiated by a user.
If you want to search your own content, Azure Search provides a comprehensive search-as-a-service cloud solution.
Bing Web Search
The Bing Web Search API is a simple way of adding ad-free search to your websites or applications. The service is easily configurable, giving you control over how your users search and what responses are delivered. Bing Web Search uses the full Bing index, so it returns text, images, news, and video. The service also provides type-specific endpoints if you want to limit the responses to specific categories.
Other API options set search priorities familiar from any major search engine: you can manage the safety level of responses, control the number of results delivered, and set the time period you’re interested in indexed documents from. If you want to get the most appropriate results for your region, you can either set a country and language individually or use the “market” option to set both automatically. ...
Get Building Intelligent Apps with Cognitive APIs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.