Open topic with navigation

# QuerySummaryWhiteListMode

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:

`1` | Boost the score of a QuerySummary result by the boost percentage. You can specify a boost percentage for each phrase, or set `QuerySummaryWhiteListBoost` to a percentage to use for all whitelist phrases.
`2` | Return whitelist phrases only (do not use boosting).
`4` | 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 `Company`.

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:

    *125,CompanyName

Type: | Long
Default: | 0
Required: | No
Configuration Section: | Server
Example: | `QuerySummaryWhiteListMode=5` This example boosts whitelist phrases and matches them case-insensitively.
See Also: | QuerySummaryStopPhraseMode QuerySummaryWhiteListBoost QuerySummary action parameter QuerySummaryWhiteListMode action parameter

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm