More in this section
Forums / Developing with Sitefinity / Search Results - Give certain results lower visibility than others

Search Results - Give certain results lower visibility than others

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Ray Tam
    Ray Tam avatar
    8 posts
    27 Feb 2010
    28 Jul 2011
    Link to this post

    I'm not sure if this is even possible, but I want to be be able to give certain search results lower precedence than others than the full list of results.

    Say I have a flag that when turned on, I want these search results to show up underneath the results that have it turned off.  I've already created my own Indexer to populate the Search Index, I'm now needed to figure out how to give preference to certain results over another.

    Wondering if anyone has done this before.

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    01 Aug 2011
    Link to this post
    Hello Ray,

    There is the option in the page index to give weight to certain fields in the page markup that have higher search priority.  More information can be found here: Working with Sitefinity Search.

    However you might also need to extend the Search Results widget to to sort the results. For this you will have to create a control which inherits from SearchResult and override CreateChildControls and reorder the result. A similar customization of this widget is discussed here.

    Best wishes,
    Radoslav Georgiev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered