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

  1. 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.
  2. Enter a unique Name and choose the Table. Set Type to Knowledge for articles, Catalog 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. Select Train on the classifier to build the table’s search index.

  8. 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.

Last updated 3 December 2026commit 6777698daac5Chris Jones
Back to top