Result Rankings
Subscribers
This feature does not work with Solr.
Result Rankings are for changing the list of returned results for specific keywords.
With Results Rankings you can
- Designate results to pin to the top of the results list.
- Hide certain results for a search.
- Add results that normally wouldn’t be returned for a certain keyword.
- Re-order pinned results with a drag-and-drop interface.
- Result Rankings affect only searches using the newer search widgets (Search Bar, Search Results, etc.). The rankings you customize do not apply to the legacy Search portlet results or to the individual application search bars.
- For the ranking to be applied, the user’s search phrase must match the result ranking’s keyword or one of its defined aliases exactly.
Requirements and Limitations
Elasticsearch is Required for Result Rankings
Result Rankings are only supported when using Elasticsearch as your search engine. Learn about installing Elasticsearch in Getting Started with Elasticsearch.
Result Rankings Cannot Be Renamed
An existing ranking entry cannot be renamed. Renaming requires recreating the ranking under a different name. See LPS-96357 for more information.
Result Rankings and Blueprints
Result Rankings does not work well with Search Blueprints. If a result pinned by Result Rankings is filtered out in the blueprint, it still appears at the top of the results. If possible, avoid using these features together.
Creating and Managing Result Rankings
To create a new Result Rankings,
-
From the Global Menu () navigate to Applications → Search Tuning → Result Rankings.
-
Click the Add icon () to add a new Result Rankings.
-
Enter the keyword or phrase you want to use. Click Customize Results.
-
A search query is executed and the results appear.
The Result Rankings can be applied to additional keywords by adding words or phrases into the Aliases field. Click Enter or use a comma to input additional aliases.
Click the X next to a keyword to remove an alias.
-
To pin a specific result, click Options () and click Pin Result. You can also hover your mouse over a result and click on the pin icon.
Once more than one result is pinned, you can re-order your pinned results. Move your cursor to the left edge of the item you wish to re-order. Click and hold the item and drag it up or down your results list.
As you drag, your selected item appears as a rectangular box that you can move. The highlighted blue line indicates the item insertion point.
-
To hide a specific result, click Options () → Hide Result. You can also hover your mouse over a result and click on the hide result icon.
The list of hidden results can be found by clicking the Hidden tab of the results. To make a hidden result visible again click Options () → Show Result. You can also hover your mouse over a result and click on the show result icon.
-
To add additional results, click Add Result. In the new window, use other search terms to locate additional results. Mark the results you want to add with a check and click the Add button.
In the list of results you now see the additional results you just added.
-
Finish configuring your Result Rankings and click Save.
-
If you like, you can choose to deactivate specific Result Rankings. Click Options () → Deactivate.
To make a Result Rankings active again, click Options () → Activate.
If you wish to permanently delete a Result Rankings, click Options () → Delete.
Result Rankings Scope and Permissions
Because configuration of Result Rankings happens at the virtual instance scope, there are scoping and permissions behaviors to note.
Scope is disregarded for pinned results. Pinned results existing in Site A always appear in searches from Site B, even if the Search Bar Scope is set to This Site as opposed to searching Everything.
Search from Result Rankings is global. When searching for results in Result Rankings admin, relevant results from all Sites are returned.
Permissions are applied as usual. If a User doesn’t have permission to see an asset, pinning it does not make it appear in the search results for that User.
Result Rankings Aliases versus Synonyms Sets
The similarities between result rankings and synonym sets might cause some confusion. Synonym sets expand the search to include results matched by additional (synonymous) keywords, so more results are returned if there are matches to the synonyms.
Result rankings are keywords with manual ranking interventions applied. If the user searches for the result ranking’s configured keyword or its aliases, then the pins, hides, re-ordering, and additional results take effect.
These features don’t interact in a predictable way. If you need synonym-like behavior in results rankings, define aliases for the keyword.