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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm