Level 2 dot walking facets not visible

Kunal Gangaher
ServiceNow Employee
ServiceNow Employee

Hi Everyone,

 

Can someone please tell me if the level dot walking facets like kb_knowledge.kb_knowledge_base.active is supported as a facet on AI Search or not?

 

My instance is on Xanadu version.

 

Thanks 

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Kunal Gangaher 

 

I think yes, it should be visible.
Do you have a screenshot of where and how you're trying to access it?

*************************************************************************************************************
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]

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

Nilesh Pol
Tera Guru

@Kunal Gangaher no, AI Search in Xanadu only supports flat facets, not nested or dot-walked ones.

For example, knowledge category facets remain a flat structure.

However, for facet support, AI Search requires that fields be indexable and facetable—but only as top-level fields. There's no support for dynamically creating facets via dot-walked fields

mujeebqasimi
Kilo Explorer

Hi,

Yes, you can use dot-walked fields like kb_knowledge.kb_knowledge_base.active as a facet in AI Search. The important part is that the dot-walked field has to be indexed first. Go into your Knowledge indexed source, add a field setting for dot_walk_fields with active on the kb_knowledge_base reference, then re-index.

Once that’s done, you can add the facet in your search application by pointing it to kb_knowledge_base.active. Boolean facets work fine for this. If you skip the indexing step, the facet won’t show up or you’ll run into errors when trying to use it.

Hope that helps.

~Mujeeb Qasimi

Swapna Abburi
Mega Sage
Mega Sage

Hi @Kunal Gangaher 

Yes, we can add dot-walk fields as facet fields in AI Search. since you are looking for "kb_knowledge.kb_knowledge_base.active", it's already mapped in the OOTB knowledge table index source. So you can directly add this dot-walk facet.

 

But, please be noted that each dot-walk reference level imposes a performance impact on indexing. Avoid using multi-level references unless necessary.

 

SwapnaAbburi_0-1757512329938.png