Optional k1Term saturation parameter. Higher values increase the influence of term frequency. Range: 1.2-2.0 typical.
Optional bDocument length normalization factor. 0 = no normalization, 1 = full normalization. Range: 0-1.
Optional pipelineOptional text processing pipeline for tokenization. When provided, replaces the built-in regex tokenizer with configurable stemming, lemmatization, and stop word handling.
createRagPipeline from nlp for the recommended default.
Configuration options for the BM25 index.
Interface
BM25Config