- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2021 07:04 PM
Does anyone know where I can find an explanation of each column available in the Knowledge Search Log (ts_query_kb)?
I'm particularly interested in 'Final Search Term' at the moment - what does True/False mean? I tried testing by pressing 'enter'/'return' on a search and can't work out why it sometimes says True and sometimes says False.
I can't believe how much trouble I'm having finding this information.
Thank you in advance.
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- 4,198 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2021 12:07 PM
The usual sequence in which a user searches is the following:
- Search “How do I setup demand insights”
- Don’t find relevant results
- Refine the search term and search “How do I setup Knowledge demand insights ServiceNow”
- Find relevant result, and end the session.
This will create two records in kb_use, one with “How do I setup demand insights” as the search term and another with “How do I setup Knowledge demand insights ServiceNow” as the search term. Final Search Term field is set to false for both records.
A job runs and updates the Final Search Term to true for the second record, because that was the last search the user performed in that session.
I think if you check the table now, for the earlier searches you performed, some of the records would have been updated to true.
Does that help? 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2021 03:43 PM
Thanks, Saurabh. I've seen that but it doesn't explain the columns of the reports/logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2021 03:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2021 04:05 PM
Thank you, Saurabh. I don't have access to this as Knowledge Admin so this is a big help.
Does it have anything on the "Final Search Term"?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2021 12:07 PM
The usual sequence in which a user searches is the following:
- Search “How do I setup demand insights”
- Don’t find relevant results
- Refine the search term and search “How do I setup Knowledge demand insights ServiceNow”
- Find relevant result, and end the session.
This will create two records in kb_use, one with “How do I setup demand insights” as the search term and another with “How do I setup Knowledge demand insights ServiceNow” as the search term. Final Search Term field is set to false for both records.
A job runs and updates the Final Search Term to true for the second record, because that was the last search the user performed in that session.
I think if you check the table now, for the earlier searches you performed, some of the records would have been updated to true.
Does that help? 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2021 04:31 PM
Ohhh! That's excellent and makes sense!
This must be a rarely recent job that runs because I've only for 'True' Final Search Terms from May 2021.
Thats great! So that means I use the 'False' Final Search Terms to see keywords that might need to be added to meta data etc. and I assume this is what the AI Search uses to improve search results as well.
Thanks so much