Home > @yext/search-core > SpellCheck
A spellcheck response from a search query.
Signature:
export interface SpellCheck
Property |
Modifiers |
Type |
Description |
---|---|---|---|
string |
The corrected version of the originalQuery. | ||
{ length: number; offset: number; }[] |
An array of substring matches which correspond to the highlighting. Offset indicates the index of the match, and the length indicates the number of characters of the match. | ||
string |
The query that was input into the spell checker. | ||
The type of spell check. |