@coveo/headless
    Preparing search index...

    Interface QueryCorrection

    Describe correction for a query, using the older index based system.

    interface QueryCorrection {
        correctedQuery: string;
        wordCorrections?: WordCorrection[];
    }
    Index

    Properties

    correctedQuery: string

    The query once corrected

    wordCorrections?: WordCorrection[]

    Array of correction for each word in the query