How to Personalize User Queries
About Personalized Queries
Personalized queries are used to filter and boost search results. This can be done one of the two ways.
- Use the SmartHub user interface to set your options. See How Users Can Personalize Their Search Results.
- Use the pipeline stage Pipeline stages offer uniformity to the end user. Various functions include mapping names and values to match local refinements. method below, which offers you an easy-to-use GUI in a SmartHub pipeline stage.
Be aware that the order of relevancy stages order can impact the way documents are boosted.
The default priority order is:
- User Relevancy
- Personalization
- Admin Relevancy
Limitations
Some SmartHub Features are unsupported by some backends.
For information about limitations to your backend The search engine your SmartHub instance uses to perform queries. SmartHub can be configured to use more than one search engine., see the "Limitations" topic for your backend.
Personalized Query Pipeline Stage
- The Personalized Query pipeline stage enables you to append information to an actively running user query.
- This stage requires you to set the User Profile settings.
- The appended information is generated based on the users’ User Profile properties such as Department or JobName.
- Use the steps in Add a scripting stage to add the Personalized Query stage.
Personalized Query Stage Parameters
UI Elements | Description |
---|---|
First match (toggle) | Enables the query processing stops at the first match per keyword |
Keyword (value) |
|
Included Result Sources |
|
Excluded Result Sources |
|
Type | Enables the user to select the keyword type. |
New Keyword (button) | Creates a new keyword with all the properties associated to a keyword. |
Delete Keyword (button) | Deletes the selected keyword. |
Partial Match | A toggle that enables partial matching. |
Addition |
|
|
The user can specify a property that is used in the condition check for the addition. |
|
|
|
Has one of the two available values: "AND" / "OR" . The default value is "OR". |
|
Has one of the two available values: "AND" / "OR" . The default value is "OR". |
|
Enables the user to specify a delimiter for multivalued properties. The input is invalid if it is empty. |
|
Enables the user to specify an additional property format. Examples:
XRANK(cb = 100) {0} . ESC_DEPARTMENT . Shown in the example below this table.Generate property format value button
|
|
Enables the user to specify the value for the property used in the property format text box. |
|
Enables the user to specify a default value that is used in case that the dynamic property value entered does not exist. |
|
Deletes the selected addition. |
|
Enables the user to reorder the additions. |
|
See button at bottom of graphic below. Creates a new addition with all the properties associated with an addition. |
Personalize Query Keyword Example
See the following graphic for examples of various Personalized Query pipeline stage parameter values.