World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
Hi!
No need to use the build filter functionality in this case. You coud simply use MatchContained:
.Filter(x => x.MarketVisible.MatchContained(p => p.ID, contentTypeTags.ID))
Hi,
Any one help me how can match ContentRefrence from Ilist(ContentRefernce ) property using build filder
My code is mentioned below:
private FilterBuilder GetMarketTagFilter(ContentReference contentTypeTags)
{();
var filterBuilder = SearchClient.Instance.BuildFilter
if (contentTypeTags != null)
{
filterBuilder = filterBuilder.Or(x => x.MarketVisible.(contentTypeTags.ID));
}
return filterBuilder;
}
In the above code " MarketVisible" is --Ilist(ContentRefernce ) property
Thanks
Sourav