This chapter describes the behavior of the Spelling Correction and
Did You Mean features.
About Spelling Correction and Did You Mean
The Oracle Endeca Server supports two complementary forms of Spelling Correction — automatic spelling correction for record search and value search, and explicit spelling suggestions for record search ("Did You Mean?").
Logic used for spelling correction
At a high level, the spelling engine in Oracle Endeca Server performs the following steps related to spelling correction for a given search query.
updateaspell
The admin?op=updateaspell administrative operation lets you rebuild the aspell dictionary for spelling correction from the data corpus while continuing to issue queries and updates to the Oracle Endeca Server and without stopping and restarting the Dgraph process.
Spelling mode (Aspell)
Spelling features of the Oracle Endeca Server compute contextual suggestions at the full query level.
Retrieving spelling suggestions and DYM in query results
You can retrieve spelling suggestion and did you mean (DYM) information in a query using the SearchAdjustmentConfig type of the ContentElementConfig complex type of your Conversation Web Service request.
Configuring constraints for spelling dictionaries
The Oracle Endeca Server selects words for the spelling dictionary based on predefined constraints. Modifying these constraints can be useful for improving performance of spell-corrected searches.
About word-break analysis
Word-break analysis allows the Spelling Correction feature to consider alternate queries computed by changing the word divisions in the user’s query.