Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to see the words that have been text indexed for a particular record - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to see the words that have been text indexed for a particular record
KB0695363

How to see the words that have been text indexed for a particular record


1424 Views Last updated : Jan 3, 2025 public Copy Permalink
KB Summary by Now Assist

Issue



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.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.