Query Manipulation Server 25.4
Query Manipulation Server Help

# Example Boost Rule

The following boost rule adds the FieldText `BIASVAL{chicken,70}:MAIN_INGREDIENT` to a query that contains the FieldText `MATCH{American}:CUISINE`.

NOTE: For this example, the `ALWAYSMATCH` field must be configured in the Promotion Agentstore as an AlwaysMatchType field.

    #DREREFERENCE BOOST_RULE_27_1254181469986_eawn
    #DRETITLE boost rule 5
    #DREFIELD QMSTYPE="7"
    #DREFIELD DATABASERESTRICTION="Recipes"
    #DREFIELD QMSAGENTBOOL="*"
    #DREFIELD QMSFIELDTEXT="MATCH{American}:CUISINE"
    #DREFIELD COUNTRY=""
    #DREFIELD CONCEPT="BIASVAL{chicken,70}:MAIN_INGREDIENT"
    #DREFIELD ALWAYSMATCH="1"
    #DREENDDOC

This rule expands the following query:

    action=Query&Text=fried&ExpandQuery=True&SynonymDatabaseMatch=True&DatabaseMatch=Recipes&FieldText=MATCH{American}:CUISINE

to:

    action=Query&Text=fried&DatabaseMatch=Recipes&FieldText=MATCH{American}:CUISINE AND BIASVAL{chicken,70}:MAIN_INGREDIENT

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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: Knowledge Discovery Query Manipulation Server 25.4

Topic Title: Example Boost Rule