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.
Using the following Filter statement works on the lowest nodes (like mens shoes) but not in upper levels (like womens):
client.Search<FashionProduct>().Filter(x => x.ParentNodeRelations().MatchContained(c => c.ID, currentContent.ContentLink.ID));
Is there a way to make it work on higher product structures?
The following seems to do the trick
client.Search<FashionProduct>().Filter(x => x.Ancestors().Match(currentContent.ContentLink.ToString()));
Looking at the Lucenebased Mediachase search functionality you can take the current node and add as an outline to which products is included in the search. Is there a way to do anything similar in EPiServer Find? Trying to replicate parts the QuickSilver Search implementation in Find.