Dataverse search uses Azure AI Search capabilities to return the best data based on what the user asks for. Custom column analyzers can be used to tailor the search results for specific table columns.
Dataverse search provides many different Azure AI Search capabilities, including index and search analyzers. These built-in capabilities help to define how an index maps certain phrases or words to the best match to data in a column and a row in a table.
Custom column analyzers should be used when the default Azure AI Search analyzers do not provide the desired results. This can be due to the presence of special characters or frequently used words (such as 'of' and 'or') in the data.
By default, Dataverse Search uses the Microsoft language analyzer based on the Dataverse organization's base language. If there is no Microsoft analyzer, Dataverse search uses the Lucene Analyzer. Both indexed documents and search terms go through the analysis during indexing and query processing.
Azure provides a list of available search analyzers that can be used in custom column analyzers. These include language analyzers and keyword analyzers.
To create a custom column analyzer, a new row is created in the SearchAttributeSettings table in Power Apps. This requires a valid JSON file containing the custom analyzer definition.
Custom analyzers use the Azure AI Search library and are defined in a JSON file. The definition includes the tokenizer, token filters, and character filters used in the custom analyzer.
Custom analyzers are uploaded to Power Apps, which then creates a new row in the SearchAttributeSettings table. Once the custom analyzer is uploaded, it can be assigned to a specific column.
Custom column analyzers are applied to a specific table column by creating a new row in the SearchAttributeSettings table. This row specifies the column and the custom analyzer to be used.
To add a custom column analyzer to Dataverse search, the custom analyzer needs to be uploaded to Power Apps. This is done by creating a new row in the SearchAttributeSettings table.
Once a custom column analyzer is created and uploaded, it can be used with Dataverse search. The custom analyzer is applied to a specific table column by creating a new row in the SearchAttributeSettings table.
Custom column analyzers can be managed by editing the rows in the SearchAttributeSettings table. This allows for the adding, modifying, or removing of custom column analyzers.
Some examples of custom column analyzers include:
Custom column analyzers can be used to tailor the search results for specific table columns in Dataverse search. By creating and applying custom column analyzers, users can improve the accuracy and relevance of search results.