Modules

boostwithkeywords

2min

boostWithKeywords(keywords): KlevuFetchModifer

Boost or deboost query based on a keywords.

Parameters

Name

Type

Description

keywords

{ phrase: string ; weight: number }[]

Keywords to boost and deboost

Returns

KlevuFetchModifer

KlevuModifier that be used to modify query

Defined in

Updated 25 Mar 2024
Did this page help you?