November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Stupid mistake by me, when moving FilterForVisitor() after all the other Filter() methods right before .GetResult() it works. (The code in the prev post wasn't the complete code)
When exploring the index I can see that the block is marked as deleted ("IsDeleted$$bool": true). But I can't figure out how to exclude it from the search result. Tried these:
var query = SearchClient.Instance.Search<StaffBlock>().FilterForVisitor().GetResult();
var query = SearchClient.Instance.Search<StaffBlock>().Filter(x => (x as IContent).IsDeleted.Match(false)).GetResult();