setQueryScoreBoostSum method: SearchFilterGenerator class

Syntax

setQueryScoreBoostSum()

Description

Use the setQueryScoreBoostSum method to replace the final document score with the sum of the custom weighted score calculated by the program and the relevance score computed by the search server.

Parameters

None.

Returns

None.

Example

If &fg.MatchAnyReturnTrue() Then 
    &fg.ContainsWord("DEPTNAME", "support"); 
    &fg.BoostFilterScore(0.02);
    &fg.ContainsWord("QE_STATUS", "open"); 
    &fg.BoostFilterScore(0.03); 
    &fg.EndMatchAny(); 
    &fg.setBoostMode("ADD"); 
    &fg. setQueryScoreBoostSum (); 
End-If;