this is a very unique and great feature, but only available in online. doubt when it will be available for on prem. this is also available in mobile clients.
Relevance Search delivers fast and comprehensive search results in a single list, sorted by relevance. It uses a dedicated search service external to Microsoft Dynamics 365 (online) powered by Microsoft Azure Search to improve your Microsoft Dynamics 365 (online) search experience. As an administrator or customizer, you'll be able to enable and configure Relevance Search in the Dynamics 365 user interface without writing code. Many of the configuration steps will look familiar to you, as they use the same user interface as the Quick Find configuration.
Relevance Search delivers fast and comprehensive search results in a single list, sorted by relevance. It uses a dedicated search service external to Microsoft Dynamics 365 (online) powered by Microsoft Azure Search to improve your Microsoft Dynamics 365 (online) search experience. As an administrator or customizer, you'll be able to enable and configure Relevance Search in the Dynamics 365 user interface without writing code. Many of the configuration steps will look familiar to you, as they use the same user interface as the Quick Find configuration.
Compare Dynamics 365 searches
There are three kinds of search in Dynamics 365:
The following table provides a brief comparison of the three available searches.
The following table provides a brief comparison of the three available searches.
| Functionality | Relevance Search | Full-Text Quick Find | Quick Find |
|---|---|---|---|
| Availability | Available for Microsoft Dynamics 365 (online) organizations that have installed Microsoft Dynamics CRM Online 2016 Update. Not available for Dynamics 365 (on-premises) organizations. | Available for Dynamics 365 (on-premises) organizations, starting with Microsoft Dynamics CRM 2015 Update Rollup 1. | Available for Microsoft Dynamics 365 (online) organizations and Dynamics 365 (on-premises) organizations. |
| Enabled by default? | No. An administrator must manually enable it. | No. An administrator must manually enable it. | Yes |
| Single-entity search scope | Not available in an entity grid. You can filter the search results by an entity on the results page. | Available in an entity grid. | Available in an entity grid. |
| Multi-entity search scope | There is no maximum limit on the number of entities you can search. | Searches up to 10 entities, grouped by an entity. | Searches up to 10 entities, grouped by an entity. |
| Search behavior | Finds matches to any word in the search term in any field in the entity. | Finds matches to all words in the search term in one field in an entity; however, the words can be matched in any order in the field. | Finds matches as in a SQL query with “Like” clauses. You have to use the wildcard characters in the search term to search within a string. All matches must be an exact match to the search term. |
| Search results | Returns the search results in order of their relevance, in a single list. | For single-entity, returns the search results in an entity grid. For multi-entity, returns the search results grouped by categories, such as accounts, contacts, or leads. | For single-entity, returns the search results in an entity grid. For multi-entity, returns the search results grouped by categories, such as accounts, contacts, or leads. |
How Relevance Search works
Enable Relevance Search
By default, Relevance Search is disabled. To enable Relevance Search, do the following:
4.After you enable Relevance Search, the Enable Search consent dialog box opens. Click OK to give your consent.
Select entities for Relevance Search
There is no limit on how many entities you can include in the Relevance Search results. However, there is a limit on the total number of fields you index. Currently, the maximum is 1000 searchable fields for an organization. When you select an entity to include in the search results, you’ll notice a number in parentheses next to the entity name. The number indicates how many fields of the entity will be synced to the external search index. Some fields, such as Primary Name and ID, are shared by multiple entities and don't count toward the total. The progress bar Total fields indexed shows the percentage of indexed fields to the maximum allowed number of searchable fields.
When you have reached the indexed field limit, you’ll see a warning message. If you want to add more fields to the index, you’ll have to free up space, either by removing some of the fields that are already in the index or removing entire entities from Relevance Search.
To select entities for the Relevance Search results, do the following:
When you have reached the indexed field limit, you’ll see a warning message. If you want to add more fields to the index, you’ll have to free up space, either by removing some of the fields that are already in the index or removing entire entities from Relevance Search.
To select entities for the Relevance Search results, do the following:
- Go to Settings > Customizations.
- Click Customize the System.
- Under Components, expand Entities, and then click Configure Relevance Search.
- Click Add Find Columns. In the dialog box, select the fields you want to add to the search index. When done, click OK. In the following illustration, you see the Account entity fields added to the external search index.
If you want to include an entity in Relevance Search, the Can enable sync to external search index managed property for this entity must be set to True. By default, the property is set to True for some of the out-of-the-box system entities and all custom entities. Some of the system entities can’t be enabled for Relevance Search.
To set the managed property, do the following:
To set the managed property, do the following:
- Go to Settings > Customizations.
- Click Customize the System.
- Under Components, expand Entities, and then click the entity you want.
- On the menu bar, click Managed Properties. For Can enable sync to external search index, click True or False to set the property to the desired state. Click Set to exit, as shown here
If you want to change the Can enable sync to external search index property to False, you must first deselect the entity from Relevance search. If the entity is included in Relevance Search, you’ll see the following message: “This entity is currently syncing to an external search index. You must remove the entity from the external search index before you can set the Can Enable Sync to External Search Index property to False.” If Can Enable Sync to External Search Index is set to False, you’ll see the following message when you try to include an entity in Relevance Search: “Entity can’t be enabled for Relevance Search because of the configuration of its managed properties.” For custom entities with particularly sensitive data, you may consider setting the Can enable sync to external search index property to False. Keep in mind, after you install the managed solution on the target system, you won’t be able to change the value of the property because it’s a managed property.
Privacy notice
By enabling Relevance Search, data in participating entities and attributes in your Dynamics 365 (online) instance will begin syncing to and be stored in an Azure Search index.
Relevance Search is not enabled by default. The system administrator must enable the functionality within a Dynamics 365 (online) instance. After Relevance Search is enabled, system administrators and customizers have full control over the data that will be synchronized to the Azure Search index.
System customizers can use the Configure Relevance Search dialog box in Customization Tools to enable specific entities for search and then configure Quick Find views on enabled entities to select the searchable attributes. Data changes are synchronized continuously between Dynamics 365 (online) and Azure Search through a secure connection. Configuration data is encrypted and the required secrets are stored in Azure Key Vault.
Azure components and services that are involved with Relevance Search functionality are detailed in the following sections.






