Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
If you type .ToString() in your query, it will actually look for a field in the index named "ToString", which it won't find. Instead, try
(a => a.ID, content.ContentLink.ID))
Hi,
I have a product that I've added to a category and then linked to another one. When querying the first category the product is found, but not when querying on the second.
When looking at the data stored in Find I see:
And I try to query this by using the following C#:
this.SearchManager.Search().Filter(x => x.ParentNodeRelations().MatchContained(a => a.ToString(), content.ContentLink.ToString()))
The ID$$number in bold are the ID's of the original and linked categories. Unfortunatly this doesn't seem to work. The search results are empty. The COmmerce manager does display the product on both categories however.
Does anyone have an alternative solution or experience with querying linked products?
EPiServer.Find version 12.3.0 and EPiServer.Find.Commerce 9.7.0
Thanks!
/Mark