@coveo/headless
    Preparing search index...

    Interface WordCorrection

    interface WordCorrection {
        correctedWord: string;
        length: number;
        offset: number;
        originalWord: string;
    }
    Index

    Properties

    correctedWord: string

    The new corrected word

    length: number

    Length of the correction

    offset: number

    Offset, from the beginning of the query

    originalWord: string

    The original word that was corrected