Interface SettingsSearchResult

Search result from Fuse.js fuzzy search.

Contains the matched section, relevance score, and match indices for highlighting.

export interface SettingsSearchResult {
section: SettingsSection;
score: number;
matches?: FuseResultMatch[];
}
interface SettingsSearchResult {
    section: SettingsSection;
    score: number;
    matches?: FuseResultMatch[];
}

Properties

The matched settings section.

score: number

Fuse.js relevance score (0 to 1, lower = better match).

matches?: FuseResultMatch[]

Array of match details with field name and character indices.