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

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

Properties

correctedQuery: string

The query once corrected

wordCorrections?: WordCorrection[]

Array of correction for each word in the query