How to build a custom Search Engine
Process to Build a Search Engine
we need to store the articles like blogs in storage account. To index the articles in storage account use the cognitive Search.we need to create an user interface for entering queries. The Search bar sends the Search query to the Cognitive Search which returns the results for that query.
To Deploy this whole Application ,we need to create a Docker image and this image will pushed into Server.we need to publish the image as webpage which is accessible to the Internet.
Pre-Requisites
- For Storing the Articles: Blob Storage in Azure
- For Search Engine for entering queries and it's results: Azure Cognitive Search
- To deploy the application that contains user interface ,we Use: Docker container in azure
- To make this accessible to internet : Docker image is pushed into Azure Container Registry
- To Deploy this image as website ,we use : Azure App Services
Steps to Build the Search Engine
Step1 : Code
we need to develop the code
Step2 : Data
we need to prepare the Data which are articles links as sources . just like data set using in AI,Machine Learning And Deep Learning but here blogs,videos links.
Step3 : Store the Data
Need to store the data which we prepared. for this Create a Storage Account and then create a container in azure . whatever we are prepared data will be uploaded into the container.
Step4 : Building Search Engine
search for the Azure search service in microsoft azure portal. then Create a new search service
This is sample Search Engine page
Step5 : Develop and deploy User Interface
by using Html ,we can create the user interface for search engine. deploy this code in docker container.
Step6 : Develop and deploy User Interface
By Using azure container registry,docker container image will be available in server.Step7 : docker image as web page
By creating web app in azure app services,search engine will be accessible to internet.
Configurations for web app for Search Engine
- Go to azure app Services and create web app in azure portal.
- Give the details such as web app name ,resource group ,subscription ,select the container from azure container registry
