Search Ranking Breakdown

Good Day, 

I've seen a few posts on how to prioritize search results by configuring Solr, but is there any information on how it ranks content for priority in the search results?

It looks like Tagging influences the results, and there is the option to populate only content X years old, but are there any other factors that may influence what populates on top and how those are weighted/ calculated? Do things like View Counts, Likes, etc. also impact the prioritization and weight of results populated? 

Parents
  • Re customising the ranking

    You could add extra rules into the solr config file, in theory you should also be able to ask the saas team if you are hosted, but I cannot confirm that they will allow it
    Also be aware that they would need to be reapplied after any upgrades which would reset the core config and remove any customisations (keep it well documented)  

    a simple example would be to boost results in specific applications getting boosted 

    <
    str name="appBoostQ">applicationid:uuid-A^20 applicationid:uuid-B^10</str>

    alternatively you can add extra rules into the query string itself by customising the SearchResults widget to inject the boost rules at runtime before it's passed to solr

    something like this 

    {!boost b=if(termfreq(applicationid,'uuid-A'),20,1)}

    but you need to be very careful as what can seem like a simple tweak may end up hiding results as they always appear down the list

    this can go as far as adding custom logic to limit results based on geolocation etc

  • Thank you Karl. 

    It looks like there was a post previously about giving Groups a higher ranking, which I think may be beneficial for us. We are an on prem community, and will be reaching out my technical team to discuss this customization, now that I have a bit more information about how this works and how we would go about it. 

    To your point, we definitely want to be careful to ensure we aren't hiding content from the search. Good to know upgrades will require us to reapply the changes and will be sure to add that into our upgrade documentation should we move forward with this modification. 

    Appreciate all of your insight.

Reply
  • Thank you Karl. 

    It looks like there was a post previously about giving Groups a higher ranking, which I think may be beneficial for us. We are an on prem community, and will be reaching out my technical team to discuss this customization, now that I have a bit more information about how this works and how we would go about it. 

    To your point, we definitely want to be careful to ensure we aren't hiding content from the search. Good to know upgrades will require us to reapply the changes and will be sure to add that into our upgrade documentation should we move forward with this modification. 

    Appreciate all of your insight.

Children
No Data