Create a search classifier
Add a knowledge or catalog classifier so Sofi search covers another table, then call it from a form.
Create a search classifier when Sofi search should cover records that the shipped knowledge and catalog classifiers do not, such as a second knowledge table. This page is for Sofi administrators.
Before you begin
- You need the
sofi_administratorrole, and theadministratorrole to run a server script and edit UI events. - Know the field names of the target table: the fields to match and the fields to show in results.
Steps
-
Go to Intelligent automation → Intelligent predictions → Classifiers and select New.

The shipped Knowledge classifier, a search classifier with its table, type and search fields. -
Enter a unique Name, choose the Table and set Type to Knowledge for articles, the catalog type for catalog items, or Template for templates.
-
In Search fields, enter the fields to match, separated by commas, for example
Title,Summary,Metadata,Content. -
In Result fields, enter the fields to return with each match, such as the title and summary.
-
Select Active and save.
-
Create the search configuration for the table by running this server script with your classifier’s name:
Sofi.updateGlobalSearchConfigurationForClassifier("My search classifier"); -
In the UI event that starts Sofi on the ticket form, call the classifier by name, for example
client.knowledgeSearch(searchText, "My search classifier");. See Show Sofi suggestions on a form.
Result
Once the next search synchronisation has indexed the table, matching records appear in the Sofi Smart Search tab of the forms that call the classifier. Readers see only records they are allowed to read.