Enabling spelling correction

You can specify whether suggested spelling corrections are to be provided with the search results,

About this task

Use setSpellCorrectionEnabled(boolean enable) method to specify that spelling corrections for terms in the query are to be included in the search results. Spelling correction is disabled by default.