Sitecore Azure Search overview
Azure Cognitive Search will be discontinued in the future and Sitecore will no longer provide support for this service in future releases.
The Sitecore Azure Search provider integrates the Sitecore Search engine with the Microsoft Azure Cognitive Search service. The Microsoft Azure Cognitive Search service is a part of the Microsoft Azure computing platform, you can read more about the Microsoft Azure Cognitive Search service on their website. This topic applies to Sitecore Experience Platform 8.2 Update-1 and later and describes the features and limitations of Azure Cognitive Search, as well as the unsupported Azure Cognitive Search features.
Features of Azure Cognitive Search
The Microsoft Azure Cognitive Search service provides the following features:
-
Extreme scalability, simplicity, and stability.
-
A highly available infrastructure that has 99.95% uptime as a part of the Microsoft Azure service level agreement (SLA).
-
An easy way to scale up and scale down as needed.
The Sitecore Azure Search provider includes the following features:
-
Support for all Sitecore search-driven UIs, including user-typed queries, and faceted searches.
-
Support for the majority of LINQ expressions, to enable rapid development of search-powered applications.
-
Native support for fundamental data types such as numbers and dates in faceting, and range queries.
-
Flexible configuration and precise control over the schema of the indexes.
-
Support for running Sitecore in geo-replicated scenarios.
-
Support for spatial search.
Sitecore Azure Search behaves slightly differently from the Lucene and Solr search providers; this is important to consider if you are going to switch between search providers. Read more about Sitecore Azure Search limitations and behavioral differences in the Limitations of Azure Search section.
Sitecore Azure Search is the default provider for Sitecore instances that are deployed using the Sitecore Azure SDK. It supports on premise and IaaS deployments. Follow the instructions in Walkthrough: Configure Azure Cognitive Search to configure Sitecore Azure Search.
Limitations of Azure Cognitive Search
Compared with Sitecore Search on Solr, Sitecore Search on Azure Cognitive Search has several limitations. Refer to the following table for specifics:
Limitation |
Description |
---|---|
Automatic tokenization by the Azure Cognitive Search service of document field values and queries when searching and faceting. |
This means that:
Note This limitation only applies to Sitecore versions 8.2.7 and 9.0.1 or earlier. For later versions, you can change the behavior by applying a lowercase analyzer to specific fields, for example: RequestResponse
|
Fields |
An Azure Cognitive Search index can contain up to 3000 fields. Every additional language that you add for Culture Support multiplies the number of required fields in the Azure Cognitive Search index. Previously, the Azure Cognitive Search was limited to 1000 fields per index. The increase to 3000 fields, together with the reduce index field count that Sitecore is released with, increases the total number of languages you can store in a Sitecore index. |
Fuzzy query semantics |
Are different in Azure Cognitive Search, for example:
|
Joining queries |
Such as: |
Media indexing |
This feature is not supported. |
Range queries |
Are always expressed as filters, as a result range queries on string fields always operate on the whole field value without tokenization and are case-sensitive. |
Same name fields |
The Azure Cognitive Search service has a strong schema, this means for example, that there cannot be such things as fields that have the same name but different types in different documents. |
Unsupported Azure Cognitive Search features
Refer to the following list for features that exist in Azure that are not currently supported by your Sitecore provider:
-
Geospatial data types
-
Indexers
-
Suggestions
-
Highlighters
-
Order by score