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