Learn what web search and how is it different from the bing.com search on the internet.
- [Instructor] Microsoft Cognitive Services for search has many parts to it. The first and perhaps the simplest and obvious one is web search. Let's talk about it. The Web Search API allows you to send a search query to Bing. Yes, this is the internet facing Bing.com search engine that you might have heard of and you get back search results. Now, you might be thinking why not just query on Bing.com? But the key difference is that A, this is an API. So, you've got to customize how the results look like in your application.
Secondly, these results, since you're paying for the API, they do not include advertisements. And as usual, the results can include webpages, images, and much more. We'll see what the results look like shortly. The endpoint you will hit is api.cognitive.microsoft.com/bing/v7.0/search. The below disclaimer you see about the URL length is a standard disclaimer that applies across all cognitive services for search, so I'm not going to repeat this over and over again because I don't want to bore you with it but in general, remember that the maximum URL length is 2048 characters, and the maximum length of your query parameters should be 1500 characters, and if you exceed that, you will get a 404 Not Found.
So, let's dive into a demo.
- Setting up search in Azure Portal
- Executing a simple search query
- Executing an image search
- Executing a video search
- Executing Bing Autosuggest queries
- Analyzing the results
- Configuring Bing Custom Search