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
FieldTextparameter to match boost rules. ThisFieldTextcan use only theMATCHandEQUALfield 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 the Content component.
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.