Skip to content

BM25IndexOptions

optional b?: number;

Document length normalization parameter. 0 = no normalization, 1 = full normalization. Default: 0.75.


optional k1?: number;

Term frequency saturation parameter. Higher values increase the impact of term frequency. Default: 1.2.