Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

OMNIDEX

Omnidex Text

SPELLCHECK Function

Options

Example

 

Omnidex Text

Spell-Checked Searches

Omnidex Text has the ability to spell-check and automatically correct criteria based on common and unambiguous spelling errors.

Spell-checked searches are accomplished by using the SPELLCHECK option of the $CONTAINS function, or by using the SPELLCHECK function directly in the qualification criteria.

In most applications, spellchecking takes two forms. In the first approach, common misspellings can be automatically replaced without asking permission from the user. However, many misspelling could be corrected to more than one word. For example, the word ther is obviously misspelled, but it is uncertain whether it should be there, their, the or other. Use the MISSPELLINGS or SUGGESTIONS option for these situations.

Spell-Checked searches differ from Misspelling searches in that spell-checking checks the spelling of the criteria and find records that match the criteria. Misspellings searches look for records that contain words that might be a misspelling of the criteria keyword.

 

 

SPELLCHECK Function

Causes Omnidex to check the spelling of the provided criteria.

Syntax

SPELLCHECK(criteria[, approach[, options]])

SYNONYMS
Required.

criteria
Required. The qualification criteria to be spell-checked. Each word that is recognized as a common misspelling will be replaced with the corrected spelling.

approach
Optional. This option is currently ignored.

options
Optional. See Options (below) for a list of valid options.

 

Options

There are currently no valid options available for use with this function.

 

 

Example

QUALIFY CATALOG WHERE CONTENT = 'SPELLCHECK(COMAPNY)'

SELECT * FROM CATALOG WHERE $CONTAINS(CONTENT,'COMAPNY','SPELLCHECK')

 

Top