A corresponding renderer, store.war/cartridges/SearchAdjustments/SearchAdjustments.jsp, exists for the Search Adjustments cartridge. The renderer code checks whether the returned content item contains any items in the adjustedSearches array for automatic spelling correction and in the suggestedSearches array for Did You Mean suggestions. If either of these arrays contains items, the corresponding auto-correction or Did You Mean messages are rendered on the page.

Additionally, the Breadcrumbs cartridge renderer, store.war/cartridges/Breadcrumbs/Breadcrumbs.jsp, contains logic to display the auto-corrected search term instead of the original one. The auto-corrected search term is taken from the correctedTerms property of Breadcrumbs cartridge response content item.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices