Hey all,
I can not find any documentation on this one.
I have seen some posts in regard to older Examine and people asking to stop public restricted content from showing up, but my use case with 8 I have the opposite.
I have the search core:
var results = searcher.CreateQuery("content").ManagedQuery(searchTerm).And().GroupedOr(new [] {"__NodeTypeAlias"}, new [] {"defaultPage", "article", "blogPost", "event", "videoResource"}).And().Field("nodeName", searchTerm).Execute();
This works. On the site there is restricted content which does not show up when no one is logged in.
When logged in those items should show up in a search though.
I would have another results output if logged in which I get but I can not find what is causing the restricted items to not show up in the first place and what you would add for them to show.
Umbraco 8 search and public restricted content
Hey all, I can not find any documentation on this one. I have seen some posts in regard to older Examine and people asking to stop public restricted content from showing up, but my use case with 8 I have the opposite.
I have the search core:
This works. On the site there is restricted content which does not show up when no one is logged in. When logged in those items should show up in a search though. I would have another results output if logged in which I get but I can not find what is causing the restricted items to not show up in the first place and what you would add for them to show.
Can anyone help please?
is working on a reply...