IDOL Server 23.2

# 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, IDOL Server uses the boost value in `QuerySummaryWhiteListBoost`. You cannot use a negative boost value.

By default, IDOL Server 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

Copyright 2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 23.2

Topic Title: QuerySummaryWhiteListMode