This article outlines how to troubleshoot issues with the search backend related to vertical ranking, or the order in which verticals are returned in search results.
Be sure to follow the How to Start Debugging Backend Search Issues help article for general troubleshooting steps first.
General Troubleshooting Steps
You will need to compare the search log for the query you’re troubleshooting against the vertical ranking properties set in the configuration. Start with these general steps and then follow the steps specific to your issue below.
- Check the vertical ranking configuration.
- Navigate to Search > [[Experience Name]] > Verticals.
- Select the relevant vertical and scroll down to Vertical Ranking. Here you will see properties for Vertical Intents, Threshold, and Bias.
- Open the search log for the query you’re seeing issues for. Either:
- Navigate to Search > [[Experience Name]] > Home or a Configuration sub-tab. Run a test search and then select Debug Query from the drop-down menu.
- If you’ve already run the search in a staging or production link, navigate to Search > [[Experience Name]] > Search Logs and click on the relevant search log. Use the search bar or filters to help you find the correct search log or run the search again to have it appear at the top.
- Check whether there was an active query rule that prevented a vertical from being returned or boosted/buried a vertical. Active query rules are shown in the search factors box in the top right of the search log.
This vertical is not appearing at all in my results
- Make sure to open the search log for the query run in vertical search (if a vertical does not meet the threshold, it will not show up in the search log for that query’s universal search).
- Compare the vertical threshold set in the configuration to the semantic similarity of the top result of that vertical in the search log. If the semantic similarity is below the threshold, and there is no vertical bias to push it over, the vertical will not surface in universal search results. Your options are to:
- Leave the results as is.
- Lower the threshold for the vertical to appear. Go back to the configuration and adjust the Threshold property.
This vertical is appearing higher/lower than expected
- Check the search log for the query to find the vertical score for each vertical in question. Hover over the info icon next to each vertical’s score for details on how it was calculated.
- The vertical score starts with the semantic similarity value of the top entity result in each vertical.
- Check for any vertical intents: These act as ‘synonyms’ for a vertical. The model will evaluate these as part of the query’s relevance to a given vertical.
- Check for any biases: any biases applied would impact the vertical score, which could potentially impact the vertical ranking.
- Adjust the configuration if you would like to change the results. You can: