Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have public access to restrict access to my test site : however, search does not work.
In my partial View I am using
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?
You can do
var searcher = ExamineManager.Instance.SearchProviderCollection["ExternalSearcher"];
var result = searcher.Search(query, useWildcards);
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted