Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kim Løwert 130 posts 116 karma points
    Jul 26, 2011 @ 21:45
    Kim Løwert
    0

    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();

    Searching the index gives multiple results for the same page. I have attached a screendump below.
    The site has four different domains, but I dont know if that has anything to do with it.
    Anybody who are experiencing similar issues or know what is causing this error?
    Thanks a lot in advance :)
    Knid regards
    Kim

  • Kim Løwert 130 posts 116 karma points
    Jul 26, 2011 @ 21:46
    Kim Løwert
    0

    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 :)

  • Kim Løwert 130 posts 116 karma points
    Aug 02, 2011 @ 22:18
    Kim Løwert
    0

    Hi everybody,

    Am I really the only person who is encountering this issue?

    Hope some of you guys out there can help :)

    Cheers,

    Kim

  • Søren Reinke 158 posts 206 karma points c-trib
    Nov 03, 2011 @ 08:29
    Søren Reinke
    0

    Hi Kim

     

    I am having the same issue, and no clue what to do :-(

Please Sign in or register to post replies

Write your reply to:

Draft