WebCenter Interaction API  
 

IPTSModifiableQuery.useSpellCorrection Method 

Spell-correct this query. In the case of compound queries, such as IPTSBooleanQuery, all child queries are spell-corrected as well.

Note that there is no way to turn off spell-correction on a single child IPTSQuery. Be sure that none of this query's subqueries contain constraints that should not be spell-corrected, such as ID or security constraints.
void useSpellCorrection();

See Also

IPTSModifiableQuery Interface | com.plumtree.server.search Namespace