coveo-search-ui
Version:
Coveo JavaScript Search Framework
15 lines (14 loc) • 539 B
text/typescript
/**
* Describe a ranking function that can be executed against the index.<br/>
* See: [Ranking Functions](https://docs.coveo.com/en/1448/)
*/
export interface IRankingFunction {
/**
* The mathematical expression that calculates the ranking value to add to the result score.
*/
expression: string;
/**
* Whether to normalize the value using the standard index scale or not. If you don't want to completely override the index ranking and use the qrf as a boost, you should turn this on.
*/
normalizeWeight: boolean;
}