Create a search classifier
Add a knowledge or catalog classifier so Sofi search covers another table, then add it to a form with a form setting.
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. - Know the field names of the target table: the fields to match and the fields to show in results.
Steps
-
Go to Predictions & routing → Intelligent predictions → Classifiers and select New.

The Classifiers item in the Predictions & routing menu. 
The shipped Knowledge classifier, a search classifier with its table, type, search fields and result fields. -
Enter a unique Name and choose the Table. Set Type to Knowledge for articles, Catalog 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"); -
Select Train on the classifier to build the table’s search index.
-
Add a form setting with your classifier as its Classifier and the ticket table as its Table. See Show Sofi suggestions on a form.
Result
Matching records appear in the Sofi Smart Search tab of the forms the form setting covers. Readers see only records they are allowed to read.