15 views



Description


If you want to know the terms that have been indexed for a particular record such as an incident for text searches you can use the procedure.

Procedure


  1. Get the sys ID of the parent record you are interested in such as an incident record
  2. Go System Definition -> Scripts - Background
  3. Enter the following script into the "Run script" field but be sure to replace the table and sysID values with the table and sys ID of the record you are interested in:

    var table = "incident";
    var sysID = "9e42a5d6db13d7405e9d90b6db961999";
    new GlideTSUtil().dumpDocument(table, sysID);

  4. Click the "Run script" button
  5. You will see the list of terms that are associated to the text indexes for this particular record

 

Applicable Versions


ALL

Additional Information

You can read more about the text indexing engine here.

Article Information

Last Updated:2018-08-20 15:15:37
Published:2018-08-16