Breadcrumbs returned by the Conversation Web Service in response to a record or value search query can reflect spelling correction.
<BreadcrumbConfig Id="BreadcrumbInfo" ReturnFullPath="false"> <StateName>Breadstate</StateName> </BreadcrumbConfig>
<SearchAdjustmentConfig Id="SearchAdjust"> <StateName>Breadstate</StateName> </SearchAdjustmentConfig>
The request in this example specifies a navigation state that includes a search for a user-entered word "pech" (a misspelling for "peach"). It illustrates a search request with a breadcrumb that needs to be corrected for spelling:
<Request xmlns="http://www.endeca.com/MDEX/conversation/3/0">
<State>
<Name>RecState</Name>
<TextSearchFilter Key="Flavors" RelevanceRankingStrategy="numfields"
Mode="AllPartial" EnableSnippeting="false" Language="en">pech</TextSearchFilter>
</State>
<RecordCountConfig Id="NumRecs">
<StateName>RecState</StateName>
</RecordCountConfig>
<BreadcrumbConfig Id="Crumbs" ReturnFullPath="true">
<StateName>RecState</StateName>
</BreadcrumbConfig>
<SearchAdjustmentConfig Id="CorrectSpell">
<StateName>RecState</StateName>
</SearchAdjustmentConfig>
</Request>
...
<cs:SearchAdjustments Id="CorrectSpell">
<cs:AppliedAdjustment>
<cs:TextSearchFilter Key="Flavors" Mode="AllPartial"
RelevanceRankingStrategy="numfields">pech</cs:TextSearchFilter>
<cs:AdjustedTerms>peach</cs:AdjustedTerms>
</cs:AppliedAdjustment>
</cs:SearchAdjustments>
</cs:Results>
For more information on the SearchAdjustments responses, see Retrieving spelling corrections and DYM in query results.