I’m trying to add an ExcludeTags to a lucene search request like this:
excludeClause.Tags.Add(new Tag( TagNames.GetTagNameForProperty(PageFieldNameConstants.ExcludeBrands), Guid.Parse("44bed877-665b-4419-a8ec-434e663d79e4")));
And then add it to the request like so:
and PageFieldNameConstants.ExcludeBrands is a multiselect of pointeritems. For non obvious reason the page is NOT excluded from the result. I have tried rebuilding the index and verified that it gets updated.
I am running the request against the SearchDomains.Pages
Similar approach have worked for other types of queries.
Litium version: [7.6.3]