I've figured out how and where to change the content quality options, but I'm struggling to figure out how or if there is a way to get groups themselves to always rank higher than other content in searches. Is this possible?
I've figured out how and where to change the content quality options, but I'm struggling to figure out how or if there is a way to get groups themselves to always rank higher than other content in searches. Is this possible?
Yes, with a quick edit to the configuration file for the search/Solr.
<str name="boost">query({! v='(type:group)^=2'},1)</str>
<lst name="appends"> <!-- boost groups. Change the value in the constant boost (^=2) to give more boost. e.g. below change to ^=5 to give a 5X boost. --> <str name="boost">query({! v='(type:group)^=2'},1)</str> </lst>
This will boost 'group' results 2X. You can experiment with different values. The values can be any decimal value - ex. 1.5, 2, 3.
Oh this is awesome. Thank you!!