rrf
(Reciprocal Rank Fusion), mm
(min-max), and l2
(l2_norm).
Method | Description | Boost support |
---|---|---|
rrf | Reciprocal Rank Fusion - balanced ranking combination | No |
mm | Min-Max normalization scaling | Yes |
l2 | Euclidean distance-based normalization | Yes |
Parameter | Description | Type | Required | Default |
---|---|---|---|---|
query | Query object (queryString/knn/sparseVector/bool) | object | ✓ | |
boost | Score multiplier for relevance | float | 0.5 |
boolean query
to combine multiple conditions.mm
and l2
rescoring methods.queryString
query with 0.7 boost weight.knn
vector query with pre-filtering and 0.3 boost weight.sparseVector
query with 0.6 boost weight.knn
dense vector query with 0.4 boost weight.knn
query. This is because the scores of documents returned solely from other queries may be higher than those of the top k documents returned from the knn
.