A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
What if you create another ModelYears field which only contains Year instead of xxx-Year or yyy-Year.
You can then index this computed field and use TermsFacetFor on it.
Here's a link to include computed fields in Episerver:
https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2015/5/best-pratice-for-including-information-that-does-not-exist-on-content/
Hi Team,
How to add condition in TermFacet.
How to write condition like (x => x.ModelYears.SearchTerm.where(y=>year.any(c=>x.Endswith(y))
Ex:
Modelyears={xxx-2001,yyy-2013}
year={2001}
I need only xxx-2001 in FacetTerm.
Please Help me out,
Regards,
Karthik