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.
Try following the method at the bottom of this doc page https://world.episerver.com/documentation/developer-guides/find/NET-Client-API/searching/Filtering/Complex-objects/
I think you need to use a filter expression such as the MatchContained
So I have a simple method that uses a "dummy"-interface to get the "Ancestors" name so the underlaying FInd API can target the correct property, like this ->
public interface ITracable
{
string[] Ancestors { get; set; }
string CreatedBy { get; set; }
}
mySearchClient.Search<IContent>().Filter(x => ((ITraceable)x).Ancestors.Match("100"))...
But it refuses to return results based on the search on that property. The document in Find looks like this (excerpt) ->