The Spelling request allows you to retrieve spelling suggestions from the spelling database. This chapter explains how the request works, including arguments and their values. It contains the following sections:
You must escape reserved characters to use them in argument values, although they are sometimes shown unescaped for readability. See ?.
Spelling syntax: The end user searches on the words “monkeys” and “giraffes”. You send the following to the BOSS:
BOSS finds a suggestion and returns the following lines in XML, indicating that the new spelling is a suggestion:
<bossresponse responsecode="200"> <spelling start="0" count="1" totalresults="1"> <results> <result> <suggestion>ireland</suggestion> </result> </results> </spelling> </bossresponse>
The SPELL request returns the following fields:
|suggestion||The actual spelling suggestion.|