Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

austinbuono
ServiceNow Employee

Service portal users have consistently reported frustration when Genius Results cite sources that don't appear at the top of the search results list. Articles sometimes fall to the bottom half of the first page, or in rare cases, to the second page. Historically, Portal Search used keyword-based retrieval while Genius Results used semantic retrieval, creating an inconsistent user experience. Now, Hybrid Search is available for Portal Search out of the box, aligning Genius Results and Portal Search results for a more consistent experience. Combining keyword precision with semantic matching, it delivers better relevance immediately, but your portals need additional configuration to get the full benefit. This document walks through those configurations and how to set them up correctly. 

ServiceNow platform prerequisites

Requirement 

Details 

Comment 

Platform Version 

Zurich or later 

 

Store app 

Now Assist in AI Search 

Upgrade to latest version 

Store app 

AI Search Admin Console 

Upgrade to latest version 

Hybrid Search activation for a portal 

To understand if Hybrid search is activated for a certain portal, follow the steps below. 

1. Navigate to All > AI Search Admin > AI Search Admin Home. 

2. Click the Applications tab in the AI Search Admin Console. 

austinbuono_23-1790247052379.png

3. Select Portals. 

austinbuono_24-1790247052379.png

4. Select a portal which you’d like to configure Hybrid Search for. 

5. You will be redirected to a general overview of the Search configuration related to the portal. 

          a. NOTE: In this example, Hybrid search is turned off. 

austinbuono_25-1790247052379.png 

6. To activate Hybrid Search, select ‘Manage hybrid search’. 

7. You will be redirected to the ‘Search Sources’ overview page. 

austinbuono_26-1790247052380.png

8. On the right-hand side, you can toggle Hybrid Search on or off. 

9. Toggle Hybrid Search on. 

       a. NOTE: Blue means active

austinbuono_29-1790247155160.png

Hybrid Search has now been activated for this portal and Search Application.

Indexed Sources, Search Sources, and Semantic Index Configurations. 

Before reviewing the Search Sources, it helps to understand where they sit in the AI Search hierarchy. Index Sources and Search Sources are core AI Search capabilities. The diagram below represents standard AI search configuration, and the below image was pulled from ServiceNow Documentation. 

austinbuono_30-1790247397284.png

With Hybrid Search, you can now configure Semantic Index Configurations within your Indexed Sources to blend semantic (AI-driven) signals with lexical (keyword-based) signals.  

 

To deep dive into semantic index configuration for Indexed Sources, review this documentation: LINK   

 

The following sections show you how to: 

  • Identify whether your Indexed Sources are configured correctly for Hybrid Search in the AI Search Admin console 
  • Correct any misconfigurations

Search Source configuration requirements for Hybrid Search

From the Search Sources overview page in the AI Search Admin Console, you can: 

  • View your Search Sources 
  • Inspect their Indexed Source configuration to understand if Hybrid Search is configured correctly 

For a Search Source to enable Hybrid Search on a portal, two records are required via the Semantic fields column: 

  • body 
  • title 

Each mapping to source fields that will be used for semantic retrieval. 

 

Correct: In this example, the Search Source 'Service Portal Catalogs' is configured correctlyIt has a Semantic Index and both required semantic fields, ‘body’ and ‘title’, are each mapped to a source field shown in parentheses next to the field name

austinbuono_31-1790247792859.png

For Portal Search semantic indexing, the body field carries the most semantic weight and can map to multiple source fields, while the title field carries less semantic weight and should map to only a single field (such as name or short_description). 

 

Incorrect: In this example, the Search Source 'Change Request’ is misconfigured for Hybrid Search in a portal. Although the semantic field similarChangeRequests and a Semantic Index are present, Hybrid Search on a portal requires both a title and a body field to function properly. 

 

The semantic field similarChangeRequests is valuable for other use cases – such as AI Agents and NASK Now Assist Skill Kit (NASK) but it doesn't support Hybrid Search on a portal. This article focuses exclusively on Hybrid Search via portal; other articles cover broader semantic field usage. 

austinbuono_32-1790247844580.png

 

After completing Step 9 in ‘Hybrid Search activation for a portal’, you can check whether your Search Sources are configured correctly. In this example, the Search Source 'Change Request' is misconfigured, and the next section will walk you through how to fix it. 

Semantic index configuration for a Search Source to enable Hybrid Search on a portal 

Follow these steps to modify your Search Source, so that it's configured correctly for Hybrid Search in portal: 

1. Copy the Search Source name. 

         a. In this example it’s ‘Service Portal Default Search Profile’. 

austinbuono_0-1790257924632.png

2. Navigate to the table ais_search_profile. 

3. Filter the AI Search Profiles using the label field, and the Search Source name noted in step 1. 

4. Select the record. 

austinbuono_1-1790257924632.png

5. Via the related list Search Sources, select the Search Source which is incorrectly configured. 

         a. In this example Search Source ‘Change Request’, will be selected because it was incorrectly configured. 

austinbuono_2-1790257981942.png 

austinbuono_3-1790257981942.png

6. Navigate into the reference field Indexed Source by clicking on the reference icon and clicking Open Record. 

       a. You may need to change the Application Scope to see the reference icon. 

 

austinbuono_7-1790258133875.png

7. Via the related list Semantic Index Configurations, click New. 

austinbuono_8-1790258174128.png

8. Create a Semantic Index Configuration with the following values: 

          a. Name: title 

9. Do not change any other fields. Right click and select Save. 

           a. NOTE: For details related to attributes present on Semantic Index Configuration record see the ServiceNow Documentation: Semantic Index Configuration form

austinbuono_9-1790258238601.png

10. Via the related list Semantic Index Fields, click New.

austinbuono_10-1790258303034.png

11. Configure the record aligning to the screenshot below and press Submit. 

         a. NOTE: For details on the attributes shown below, see the ServiceNow Documentation: Semantic Index Field form 

 

austinbuono_11-1790258347536.png

12. Navigate back to the Indexed Source and create another Semantic Index Configuration for body. 

austinbuono_12-1790258381086.png

13. Via the related list Semantic Index Fields, click New. 

          a. For the body Semantic Index Configuration, add multiple fields as needed by repeating step 11 for each field, but ensure the title field is also included in the list of Semantic Index Fields. Your configuration should resemble the example below, though specific fields will depend on your organization's requirements. As a best practice, if you're working with a task table, also include the description field, as it's typically a valuable field for task tables.

austinbuono_13-1790258436091.png

14. Navigate back to the indexed source and press Index All Tables. 

Indexing can take considerable time depending on data volume. Verify that the process completes successfully before proceeding to the final section. 

 Property configuration

The final step in configuring Hybrid Search is to update the property glide.ais.query.hybrid_allowed_tables with the table names where you want Hybrid Search enabled. In this example, you would add change_request to this property. 

austinbuono_14-1790258542137.png

Takeaways 

1. To correctly enable Hybrid Search for a portal, you need both a title and body Semantic Index Configuration, and you must update the property glide.ais.query.hybrid_allowed_tables with the appropriate table names. 

2. The weighting for the body Semantic Index Configuration is the heaviest. Fields added to the body configuration that match the query will be ranked highest in results. 

3. To enable additional weighting, create a separate Semantic Index Configuration record for title containing only a single field, such as name or short_description. 

Call to action 

Evaluate your current state: 

  • Use AI Search analytics dashboard to review key performance metrics. These metrics can provide insight that can help answer the following questions: 
  • Are portal users frustrated with search irrelevance? 
  • Is search quality impacting user satisfaction? 
  • Are the correct search results appearing at the top?   
  • Are searches over time going up or down? 

Take action: 

1. Identify if the AI Search analytics dashboard is providing negative trends on the above questions. 

2. Use the dashboard to identify which Search Application or portal is showing the poorest performance metrics. 

3. Use the configurations documented in this article to deploy Hybrid Search on the Search Application and the offending portal. 

4. Return to the dashboard after 2-4 weeks and verify improvement in click-through rates, satisfaction scores, and search volume trends.

 

Views expressed are my own and do not represent ServiceNow, my team, partners, or customers.

 

Version history
Last update:
an hour ago
Updated by:
Contributors