Reader small image

You're reading from  Hands-On Azure for Developers

Product typeBook
Published inNov 2018
PublisherPackt
ISBN-139781789340624
Edition1st Edition
Tools
Right arrow
Author (1)
Kamil Mrzygłód
Kamil Mrzygłód
author image
Kamil Mrzygłód

Kamil Mrzygłód is a technical lead and technology advisor, working with multiple companies on designing and implementing Azure-based systems and platforms. He's a former Microsoft Azure Microsoft Most Valuable Professional (MVP) and certified trainer, who shares his knowledge via various channels, including conference speeches and open source projects and contributions. Kamil lives in Poland with his two cats and one dog, dedicating some of his time to video games, cooking, and traveling.
Read more about Kamil Mrzygłód

Right arrow

Technical requirements

To perform exercises from this chapter, you will need the following:

  • Access to an Azure subscription
  • A tool for sending HTTP requests (cURL and Postman)

Creating an Azure Search service

Creating Azure Search is an easy task and should not take more than a few minutes. The important thing to remember here is that, if you have to recreate a service, there is no way to back up and restore data—if you make mistakes here, everything has to be done from scratch.

The reason to recreate would be changing the datatypes or other search attributes of the search index columns. While it will not be a problem during this exercise, have that in mind when creating a production workload.

Using Azure Portal

As with most services in Azure, we will start our journey by creating Azure Search in the portal. To do so, click on + Create a resource and search for Azure Search. On the introduction...

Cognitive search – adding AI to the indexing workload

When creating and managing an index, you always have to make sure that you have selected all required fields and marked them as searchable where needed. Additionally, we are limited to the current service functionalities, so we cannot use things such as image or natural language processing. Fortunately, Azure Service is about to start supporting the Cognitive Search feature, which adds AI to your indexing operations, allowing for richer analysis using more vectors. In this chapter, you will learn how to configure it, so you can start using it from the very beginning.

Configuring Cognitive Search

Cognitive Search can be configured when importing data for your service...

Summary

Azure Search is a great service when you want to have your very own search solution and do not plan to maintain its infrastructure and configuration. With its flexibility and intuitiveness, you can quickly develop your application, leveraging features such as the push/pull model, scheduled indexing, or support for different kinds of data sources. Additionally, with the option to start from the free tier even for production workloads, you can gradually progress and scale your solution up adjusting costs based on real requirements. In Chapter 6, Mobile Notifications with Notification Hub, we will cover topics related to handling mobile and applications and push notification by using Azure Notification Hub.

Questions

  1. What is an index?
  2. What is the difference between the push and pull models?
  3. Can an indexer be scheduled using a custom interval?
  4. What analyzer does Azure Search use by default?
  5. Can one implement a custom analyzer and use it in Azure Search?
  6. What is the difference between partition and replica?
  7. What is the name of a header used for authorizing requests to Azure Search?

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Azure for Developers
Published in: Nov 2018Publisher: PacktISBN-13: 9781789340624
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Author (1)

author image
Kamil Mrzygłód

Kamil Mrzygłód is a technical lead and technology advisor, working with multiple companies on designing and implementing Azure-based systems and platforms. He's a former Microsoft Azure Microsoft Most Valuable Professional (MVP) and certified trainer, who shares his knowledge via various channels, including conference speeches and open source projects and contributions. Kamil lives in Poland with his two cats and one dog, dedicating some of his time to video games, cooking, and traveling.
Read more about Kamil Mrzygłód