Query Manipulation Server 24.2

# Send Whitelist and Blacklist Queries

When you query QMS, you can add a whitelist or blacklist to the query to modify the query.

To use a whitelist or blacklist

- Send queries with one of the following action parameters:

  - the `Whitelist` parameter set to the name of the whitelist to use.
  - the `Blacklist` parameter set to the name of the blacklist to use.

For example:

    action=Query&Text=phone&Whitelist=AllowList

    action=GetQueryTagValues&Text=phone&FieldName=MODEL&Whitelist=AllowList

These actions apply the `AllowList` whitelist, and remove any terms from the specified `Text` that are not in the whitelist.

    action=Query&Text=mobile phone&Blacklist=BanList

    action=GetQueryTagValues&Text=phone&FieldName=MODEL&Blacklist=BanList

These actions applies the `BanList` blacklist, and remove any terms from the specified `Text` that appear in the blacklist.

Refer to the QMS Reference for more information.

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Query Manipulation Server 24.2

Topic Title: Send Whitelist and Blacklist Queries