Need help in ts_weight attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 05:25 AM
Hi Community,
What is ts_weight attribute for Number field ?How it works? By default for Number field it's ts_weight=50 can we change it? .I have an issue in SEARCHING Number field ,I have a custom table with Number field whenever I am searching for Number it is not giving the result its showing No records to Display. What might be the issue? Will it be fixed if I change ts_weight=50 value to 100.?
Thanks,
Pihu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 05:34 AM
Hi Pihu,
Yes, you can Max ts_weight limit of 255 per individual response.
What might be the issue? Will it be fixed if I change ts_weight=50 value to 100.? - Are you searching in list view ?? - If yes sometime it's not working and you need modify the search with contain option for that table
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 12:06 AM
Hi Pihu,
Follow Up - is your requirement is completed with my answer. Please mark answer as correct it will use for other community members if not let us know your issue so we can help you
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2022 12:09 AM
Hi Pihu,
Follow Up - is your requirement is completed with my answer. Please mark answer as correct it will use for other community members if not let us know your issue so we can help you
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 05:36 AM
Hi Pihu,
To Show relevancy in knowledge search results you should have property activated (glide.knowman.search.show_relevancy).
you can impact search relevancy by field weight in Knowledge? The kb_knowledge table have different weightings (set using the ts_weight field attribute)section for configuring your search relevancy at the field level. If you're interested in understanding search relevancy from an overall perspective.
The default field weighting is:
- kb_knowledge.number = 50
- kb_knowledge.short_description = 10
- kb_knowledge.meta = 10
- Every other field has a weight of 1 per occurrence and weighting increases exponentially for sequence matches.
At ServiceNow, we're using a weighting of:
- kb_knowledge.number = 50
- kb_knowledge.short_description = 15
- kb_knowledge.meta = 10
- Every other field has a weight of 1 per occurrence.
The difference for us is in the short description weighting (short description = article title). We find our result set improves with a greater focus on the short description. With strong titling standards, our titles are written to contain a quick overview of the issue, which should match the users search frequently.
Mark Correct & Helpful, if applicable.
Thanks,
Sandeep