I have public access to restrict access to my test site : however, search does not work.
In my partial View I am using
Umbraco.Search(Query);
I suspect it is using the ExternalSearchIndex which excludes protected pages. Can I force it to use either the InternalSearchIndex or maybe a custom one?
If not, how can I use a search a against a specified index in Razor?
Examine Umbraco.Search
I have public access to restrict access to my test site : however, search does not work.
In my partial View I am using
Umbraco.Search(Query);
I suspect it is using the ExternalSearchIndex which excludes protected pages. Can I force it to use either the InternalSearchIndex or maybe a custom one?
If not, how can I use a search a against a specified index in Razor?
Thanks
You can do
documented here:
https://our.umbraco.org/documentation/reference/searching/examine/examine-manager
is working on a reply...