Try Now
More in this section

Forums / General Discussions / Excluding Header information from site search results

Excluding Header information from site search results

3 posts, 0 answered
  1. michael
    michael avatar
    2 posts
    23 Sep 2014
    23 Sep 2014
    Link to this post

    Hello community,

    We're currently running 6.2 of the platform and are experiencing a problem with site search.

    The search results returned are over-9indexing the site so much as to render the search feature not useful. 

    It seems that search is crawling and header information at the page level and retuning that in the search results.  

    My question for the community is, has anyone experience the same problem, and/or, does anyone have a solve for excluding certain page-level data from the query.  Please advise.



  2. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    24 Sep 2014 in reply to michael
    Link to this post

    Yeah you have to hide what you don,t want indexed...its easy though


     Ignore all the layout stuff, just look at the line of code

    this.Visible = this.GetIndexRenderMode() == Telerik.Sitefinity.Web.UI.IndexRenderModes.Normal;

    So in your masterpage codebehind or widgets just hide stuff based on the rendermode....it'll fix your problem.

  3. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    21 Jan 2015
    26 Sep 2014
    Link to this post
    Hello Michael,

    If you have any issues implementing the new layout control, please let us know.

    Vassil Vassilev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
3 posts, 0 answered