enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Interface EmbedSearchHit

    A single hit from EmbedDb.search. Mirrors the FtsSearchHit shape so the RRF fusion layer can blend them by id (rel_path + chunk_index).

    interface EmbedSearchHit {
        chunk_index: number;
        kind: EmbedChunkKind;
        line_end: number;
        line_start: number;
        rel_path: string;
        score: number;
        text_preview: string;
    }
    Index
    chunk_index: number

    0-based chunk position within the source.

    v2.8.0 — content-source kind. Defaults to "md" for backward compat.

    line_end: number

    1-based ending line in the source (inclusive).

    line_start: number

    1-based starting line in the source.

    rel_path: string

    Vault-relative path of the source note / PDF.

    score: number

    Cosine similarity (since vectors are L2-normalized at insert time).

    text_preview: string

    Raw chunk text — caller can render snippets.