Docs
On this page
task2 min readApplication: SOFI Core

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_administrator role, and the administrator role 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

  1. Go to Intelligent automation → Intelligent predictions → Classifiers and select New.

    The shipped Knowledge classifier, a search classifier with its table, type and search fields.
  2. Enter a unique Name, choose the Table and set Type to Knowledge for articles, the catalog type for catalog items, or Template for templates.

  3. In Search fields, enter the fields to match, separated by commas, for example Title,Summary,Metadata,Content.

  4. In Result fields, enter the fields to return with each match, such as the title and summary.

  5. Select Active and save.

  6. Create the search configuration for the table by running this server script with your classifier’s name:

    Sofi.updateGlobalSearchConfigurationForClassifier("My search classifier");
    
  7. 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.

Last updated 18 October 2026commit c0e55f26ec7bChris Jones
Back to top