Open topic with navigation
The QuerySummary whitelist mode to use. The whitelist contains a list of phrases that you want to bias in the results of a query action with the QuerySummary parameter. For example, when you create QuerySummary results from financial documents, you might provide a list of financial terms and phrases that you want to give higher weighting.
You can use one of the following values, or a sum of values:
||Boost the score of a QuerySummary result by the boost percentage. You can specify a boost percentage for each phrase, or set
||Return whitelist phrases only (do not use boosting).|
||Use case-insensitive whitelist phrase matching.|
To use whitelists, you must create a
qswl.db file, which contains the whitelist phrases. This file must contain one percent-encoded phrase on each line. You can optionally add a percentage boost for the phrase to the beginning of the line, followed by an unencoded comma before the phrase. For example:
phrase%20one 125,phrase%20two 200,phrase%20three
If you do not specify a boost for a phrase in the file, HPE Content Component uses the boost value in
QuerySummaryWhiteListBoost. You cannot use a negative boost value.
By default, HPE Content Component considers all phrases in their entirety. For example, if you specify
Company as a list item, it affects only query summary results where
Company is the whole query summary phrase, and not all query summary phrases that contain
To apply the list to any query summary phrase that contains a specified subphrase, prefix the subphrase with an asterisk (*). For example, if you specify
*Company as a list item, it affects any query summary result phrase that contains the subphrase
Company, such as Company News, or Top Headlines for Company.
If you use subphrases with a boost percentage, add the asterisk at the beginning of the line. For example:
This example boosts whitelist phrases and matches them case-insensitively.
QuerySummary action parameter
QuerySummaryWhiteListMode action parameter