Circle V2 API Docs
    Preparing search index...

    Type Alias LooseMatchSegment

    type LooseMatchSegment = {
        exact: boolean;
        matched: boolean;
        similarity: number;
        text: string;
        wordEnd: number | null;
        wordStart: number | null;
    }
    Index

    Properties

    exact: boolean
    matched: boolean
    similarity: number
    text: string

    The segment as split from the needle (typography-folded, so reads as ...).

    wordEnd: number | null
    wordStart: number | null

    Word-index range in the normalized haystack; null when the segment was not located.