enquire-mcp API reference - v3.9.0-rc.4
    Preparing search index...

    Interface SearchHit

    A single hit from searchText.

    Hits expose the surrounding snippet and the 1-based line where the first matched token landed so the agent can scroll a UI directly to the relevant passage. score is the total per-token occurrence count (higher = more matches), not normalized — compare scores within the same response only.

    interface SearchHit {
        line: number;
        matched_terms: string[];
        path: string;
        score: number;
        snippet: string;
    }
    Index

    Properties

    line: number

    1-based line number where the first match starts. 0 when no match.

    matched_terms: string[]

    Original-case tokens that matched (subset of the query tokens).

    path: string

    Vault-relative path of the matching note (e.g. "Reference/Foo.md").

    score: number

    Total occurrences of all matched tokens. Sort key (desc).

    snippet: string

    ~120-char excerpt centered on the first matched token, with truncation.