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
Hi Guys,
I'm experiencing on a number of sites that when performing searches the same result pops up multiple times.
Here is my code that performs the search (based on Tim's video describing umbraco Examine):
SearchTerm = Request.QueryString["s"];
if (string.IsNullOrEmpty(SearchTerm))
return;
var criteria = ExamineManager.Instance.SearchProviderCollection["CompaniesSearcher"].CreateSearchCriteria();
var filter = criteria.GroupedOr(new string[] { "nodeName", "bodyText", "contactText", "createDate" }, SearchTerm)
.And().Field("__IndexType", "content")
.Not().Field("navigationHide", "1").Compile();
SearchResults = ExamineManager.Instance.SearchProviderCollection["CompaniesSearcher"].Search(filter);
SearchReulstListing.DataSource = SearchResults;
SearchReulstListing.DataBind();
Where did the screendump go? Here it is again. Experiencing some issues uploading my screendump, but hope you still get the essense of the issue I'm experiencing :)
Hi everybody,
Am I really the only person who is encountering this issue?
Hope some of you guys out there can help :)
Cheers,
Kim
Hi Kim
I am having the same issue, and no clue what to do :-(
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Multiple results for same page in Examine search?
Hi Guys,
I'm experiencing on a number of sites that when performing searches the same result pops up multiple times.
Here is my code that performs the search (based on Tim's video describing umbraco Examine):
SearchTerm = Request.QueryString["s"];
if (string.IsNullOrEmpty(SearchTerm))
return;
var criteria = ExamineManager.Instance.SearchProviderCollection["CompaniesSearcher"].CreateSearchCriteria();
var filter = criteria.GroupedOr(new string[] { "nodeName", "bodyText", "contactText", "createDate" }, SearchTerm)
.And().Field("__IndexType", "content")
.Not().Field("navigationHide", "1").Compile();
SearchResults = ExamineManager.Instance.SearchProviderCollection["CompaniesSearcher"].Search(filter);
SearchReulstListing.DataSource = SearchResults;
SearchReulstListing.DataBind();
Where did the screendump go? Here it is again. Experiencing some issues uploading my screendump, but hope you still get the essense of the issue I'm experiencing :)
Hi everybody,
Am I really the only person who is encountering this issue?
Hope some of you guys out there can help :)
Cheers,
Kim
Hi Kim
I am having the same issue, and no clue what to do :-(
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.