Liking cljdoc? Tell your friends :D

hive-milvus.store.search.fusion

Merge hits from different embedding spaces. Pure.

Merge hits from different embedding spaces. Pure.
raw docstring

Distanceclj

source

fuseclj

(fuse results limit)

One ranking over every space, best first, at most limit long.

Ids are deduplicated across spaces; an id several spaces returned accumulates their reciprocal ranks. :score is a rank score, not a distance — the two are different units and must never be compared. :distance is carried for display and is meaningful only within :best-space.

One ranking over every space, best first, at most `limit` long.

Ids are deduplicated across spaces; an id several spaces returned accumulates
their reciprocal ranks. `:score` is a rank score, not a distance — the two are
different units and must never be compared. `:distance` is carried for display
and is meaningful only within `:best-space`.
sourceraw docstring

Hitclj

source

Limitclj

source

rank-hitsclj

(rank-hits hits)

hits ordered nearest-first, each stamped with its 1-based :rank. Stable on ties.

`hits` ordered nearest-first, each stamped with its 1-based `:rank`.
Stable on ties.
sourceraw docstring

Resultsclj

source

rrf-kclj

source

rrf-scoreclj

(rrf-score rank)

A rank's contribution to a fused score.

A rank's contribution to a fused score.
sourceraw docstring

single-space?clj

(single-space? results)

True when every hit came from at most one space.

True when every hit came from at most one space.
sourceraw docstring

SpaceHitsclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close