Azure Search #2–Creating Search Service

 

Let’s see how we can create a azure search service and how we can manage and scale it.

Step 1: Select Search service from add new

Log in to Azure portal

Click New –> Web & Mobile

Under that select Azure Search .

1

Step 2: Give a name & select pricing tier

after selecting the Azure Search you will get the following blade.

enter the name you need to use for the search service.

2

then you have to select the pricing tier, by clicking on Pricing tier option in the blade.

3

when selecting pricing tier you need to identify your application requirements and select it. Anyway it is always better you start with a lower tier and scale it up when the application need varies. Azure provides you the facility of scaling up or down the tier based on you need. Then click create search service will be created for you.

Pricing Tiers

mainly contains 3 categories.

1.Free

multi-tenant shared service

2.Basic

provides dedicated computing resources for production workloads at a smaller scale

3.Standard

runs on dedicated machines, with more storage and processing capacity at every level, including the minimum configuration

each category will have sub categories as well with different level of resources. so you can choose it based on your application requirement.Under each category you might see this following terms.

1. Replicas

Instances of the search service, used primarily to load balance query operations. Each replica always hosts one copy of an index. If you have 12 replicas, you will have 12 copies of every index loaded on the service.

By adding more replicas you can get High availability of your search service. It is generally recommend that you start with one partition and one or two replicas, and then scale up as query volumes build.

General recommendations for high availability are:

  • Two replicas for high availability of read-only workloads (queries)
  • Three or more replicas for high availability of read/write workloads (queries plus indexing as individual documents are added, updated, or deleted)

2. partitions

A partition is a mechanism for splitting your data across extra resources. For this reason, when you add a second partition, your data gets split into two. A third partition splits your index into three.

 

Step 3: Scale Up your service

Go to your search service. There you will see Scale Up option. once you select it you will get the following blade. In that blade you can change the Replicas & Partitions for the search service

4

In my next post I will discuss what is azure index is. Until that…..

 

Happy Coding !!!!

Comments

Post a Comment

Popular posts from this blog

Responsive Web Design

Contract First Development in WCF 4.5

Affine Cipher in C#