Open topic with navigation

# Use Boost Rules in Queries

QMS does not apply boost rules by default. You must enable them in individual queries to QMS.

To use boost rules in your query

- Send queries with the `ExpandQuery` parameter set to `True`.

  NOTE:

  The query must have a `FieldText` parameter to match boost rules. This `FieldText` can use only the `MATCH` and `EQUAL` field operators.

For example:

    action=Query&Text=phone&FieldText=MATCH{UK}:place&ExpandQuery=True

This query searches for boost rules that match the word phone, and that contain the `FieldText` expression `MATCH{UK}:place`. QMS then adds the additional FieldText from the rule to the query to IDOL Server.

NOTE:

This query also searches for synonymous terms.

If your boost rules contain a `DATABASERESTRICTION` field, set the `SynonymDatabaseMatch` parameter to `True` to apply the restriction. By default, QMS does not apply the database restriction.

Refer to the QMS Reference for more information.

Related Topics

- Create Boost Rules
- Create Query Manipulation Server Rules
- Synonyms, Hyponyms, and Hypernyms

© Copyright 2018 Micro Focus or one of its affiliates | Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm