I'm having some problem using umbracoNaviHide with a script for examine
ยจ
if (!String.IsNullOrEmpty(searchString))
{
var searchProvider = ExamineManager.Instance.DefaultSearchProvider.Name;
var searchResults = ExamineManager.Instance.SearchProviderCollection["FullTextSearcher"].Search(searchString, true);
foreach (var c in searchResults.Take(5))
{
When I try to use where it doesn't work, I've also tried using if but cannot get i to work. How can I use umbracoNaviHide here so that I don't get the hidden pages?
Problem with use of umbracoNaviHide
Hi everone,
I'm having some problem using umbracoNaviHide with a script for examine
ยจ
if (!String.IsNullOrEmpty(searchString)) { var searchProvider = ExamineManager.Instance.DefaultSearchProvider.Name; var searchResults = ExamineManager.Instance.SearchProviderCollection["FullTextSearcher"].Search(searchString, true);
foreach (var c in searchResults.Take(5)) {
When I try to use where it doesn't work, I've also tried using if but cannot get i to work. How can I use umbracoNaviHide here so that I don't get the hidden pages?
Thanks / Niklas
Hi Niklas,
Perhaps, this post can be a help you to solve your issue with the umbracoNaviHide in the Examine.
http://our.umbraco.org/forum/core/general/26650-How-does-umbracoNaviHide-effect-Search-Results
Hope this can help you,
/Dennis
is working on a reply...