actrone-memory
    Preparing search index...

    Function fuseChannels

    • RRF-fuse a dense ranking with lexical (BM25) and recency rankings over the same id set. Returns the fused id ordering, or null when there is no lexical signal (blank query / no shared terms) so the caller falls back to its classic dense+recency blend.

      Parameters

      • params: {
            ids: readonly string[];
            denseRanking: readonly string[];
            documents: Map<string, string>;
            recency: Map<string, number>;
            queryText: string | undefined;
            relevanceWeight: number;
            recencyWeight: number;
            rrfK?: number;
        }

      Returns string[] | null