Currently, LambdaDB does not support built-in natural language processing models for automatic sparse vector generation.
Parameters
Scoring and limits
Sparse retrieval uses linear scoring over shared terms: each matching term contributes the stored document weight multiplied by the query weight, and the contributions are added. Terms present in only one vector contribute nothing. This is separate from BM25 text scoring and dense-vector cosine similarity; sparse weights do not need to sum to one or have unit length. Query vectors must fit the entry-count and weight limits. Keys must use the same token or index representation as the stored vectors; numeric index keys are strings in JSON. LambdaDB does not generate these vectors or translate between vocabularies. The returned retrievalscore is not a relevance probability and is not constrained to [0,1]. Hybrid fusion normalizes the retrieval scores, while applied native reranking replaces the final score and retains the sparse or fused value in retrievalScore.
Examples
The examples are query objects. Place them under the request body’s top-levelquery, alongside size and other search options. Sparse retrieval has no knn.k parameter; see reranking candidate counts when adding native reranking.