Search functionality

FotinaG
Tera Contributor

Hello Guys,

 

I want to understand how search works, I read about Zing text indexing and search engine, looks like it can be configured per user request. It is new topic for me and wanted to understand how it works and what is possible.

However I have a question about the behaviour.
If I am searching e.g. for "Excelword" should it show all results that contain "Excel" and "word"?
If this is not possible, is it possible to use wildcards or regex in the search?

 

Maybe someone of you worked on the same idea?

 

Thank you in advance,

Best regards

Fotina

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @FotinaG 

 

I did not work much in this domain, but as per my experience, now user /customers refer AI search in SN.

Did you try the above use case in PDI ?

https://www.servicenow.com/docs/ja-JP/bundle/yokohama-platform-administration/page/administer/search...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@FotinaG 

there are docs link on how it handles the searches

It will treat Excelword as single word and won't break it.

Zing text indexing and search engine 

Zing computes document scores using three components 

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

nityabans27
Mega Guru

 

🔍 Zing Search Behavior & Capabilities in ServiceNow

  • "Excelword" will not return results with "Excel" and "word" separately — Zing treats it as one token.

  • To match both terms, search with: excel word

  • Wildcards (*) are supported at the end of words only:

    • excel* word* matches exceling, wording, etc.

  • Regex is not supported in Zing search.

  • Phrase search with quotes ("excel word") matches exact phrases.

  • Zing search behavior can be influenced via:

    • Text index config

    • Search groups and sources

    • Synonyms & stop words

 

gaurrohi
Tera Expert

Hi @FotinaG,

 

No, I don't think so. It indexes and searches for it as a single term, "Excelword."

Additionally, you can use wildcards:
For example, excel* (this will match excel, along with any trailing characters).

Please mark the response as the correct answer and helpful. This may help other community users to follow the correct solution.

Regards,
Rohit Singh