Resources And Template Tokens For Lucene Search
The following Template Tokens and Resources are used to provide information to the user while conducting product searches using Lucene.
Site Administrators can include the Tokens in Search Result Templates, as well as customise the output of the tokens through resource.
Did You Mean
Token | TemplateUtil.ProductSearchQuery_DidYouMean |
---|---|
Use | This token will render the "did you mean" suggestion if one is available, or will render nothing if not. |
Resource | rcDidYouMean |
Default Resource Value | Did you mean "<a href='ProductDisplay.aspx?ProductSearch={0}&dym=true'>{0}</a>"? |
Partial Word Search
Token | TemplateUtil.ProductSearchQuery_PartialWords |
---|---|
Use | This token will render a message when a partial word search was conducted - meaning that no results were found containing all of the search words entered |
Resource | rcPartialWordSearch |
Default Resource Value | There were no products that contained all of the words in your query. These products contain some of the words |
Search Term Replacement
Token | TemplateUtil.ProductSearchQuery_Modified |
---|---|
Use | This token will render a message when the search term returned no results, and has been automatically modified by a query translation |
Resource | rcProductSearchQueryModified |
Default Resource Value | Your search for "{0}" returned no results. See our selection below for "{1}" |
Related help
© Copyright 2001-2023 Commerce Vision Pty Ltd. Use of this site signifies your acceptance of Commerce Vision’s Terms & Conditions. CV Connect, the Commerce Vision logos, and other Commerce Vision marks are assets of Commerce Vision Pty Ltd.