Querylight TS Demo

normalizedBoost

Resolves `undefined` boosts to a neutral multiplier of `1.0`.

Back to docs search

Reference Entry

normalizedBoost

API Reference · foundation · order 119

Resolves `undefined` boosts to a neutral multiplier of `1.0`.

Relevant APIs

normalizedBoost

Resolves undefined boosts to a neutral multiplier of 1.0.

Declaration

function normalizedBoost(query: Query): number

Signatures

```ts function normalizedBoost(query: Query): number ``` Resolves ``undefined`` boosts to a neutral multiplier of ``1.0``.

Parameters

- `query: Query`