Query Manipulation Server 24.2

# 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 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: Example Boost Rule