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.
Virtual Agent topic keywords won't trigger suggestions if the user input is not an exact match to the keywords. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Virtual Agent topic keywords won't trigger suggestions if the user input is not an exact match to the keywords.
KB0780134

Virtual Agent topic keywords won't trigger suggestions if the user input is not an exact match to the keywords.


1385 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Topic keywords are not triggering suggestions in the virtual agent chat when used in complete sentences. For example if a topic has a keyword, 'error' and the user is searching for 'I am facing an error' in the VA to search for topics, there are no results. 

Only if the user is searching for 'error', results are returned. 

Release

ALL

Cause

Sys_metadata query is not including an OR search type/

The 'default query mode' for sys_metadata table is not set to AND_OR query method.  

 

Note: This can also be caused if one of the words being searched for is a stop word in (ts_stop) table. 

Resolution

Changing the default query mode for 'sys_metadata' to 'AND_OR' from 'Default' resolves the issue. 


1. Go to ts_index_name table

2. Go to sys_metadata record (sys_cs_topic extends from sys_metadata)

3. Change the 'Default query mode' to 'AND_OR'

4. Save the changes.

 

Note: No need to reindex the table. We are simply changing the query type.  

Related Links


Documentation : Change the query mode of an indexed table


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.