SearchBoost usage was deprecated in CEF 4.7 in favor of ElasticSearch.
The files were fully removed from repo in the following commit:
https://clarity-ventures.visualstudio.com/_git/CEF-Product/commit/c56c5b16c2fbe1cfdc4d1c913915a0ce286e8919?refName=refs%2Fheads%2F4.7.0%2FDev-Master
¶ Original Article
- Log into DNN Sharp's website and download the latest version of
SearchBoost 3.x (last tested with 3.1.43)
- Install the Extension to the Host > Extensions manager in the
site
- Compile the CEF solution
- Go to the Clarity.Ecommerce.DNN.SearchBoost\bin\Debug folder
- Copy the following highlighted files to the Website's bin folder. Do
NOT copy anything that is not highlighted:
Picture2.png
-
- In addition to those files, with 4.7 you also need
Clarity.Ecommerce.Core.dll and Clarity.Ecommerce.Core.pdb
- The Website will restart automatically because the bin folder
changed
- Go to the
DesktopModules\DnnSharp\SearchBoost\Config\ContentSources folder
- Add a new file named products.json.config
- Open that new file in a text editor and place the following content
in it:
[
{
"Id": "Products-Container",
"Title": "Products Container",
"TypeStr": "Clarity.Ecommerce.DNN.SearchBoost.ProductContentSource, Clarity.Ecommerce.DNN.SearchBoost"
}
]
- Save the file and close it
- Restart the website
- Go to your header.ascx file for the site skin and add the following
Register tag to it:
<%@ Register TagPrefix="avt" TagName="SearchBoost" Src="~/DesktopModules/DnnSharp/SearchBoost/SearchInput.ascx"%>
- Now add your SearchBoost object to the skin
<avt:SearchBoost runat="server" ID="avtSearch" />
- Go to the Admin menu and find the Search Boost menu item. Click it
- In the Dashboard, you may need to select a module, do so
- Click Clear Index near the top
- Click Index
- WARNING! There are no real indications that your product pages have
been indexed in this UI (this is a limitation of SearchBoost, we can
do nothing about it). While it is indexing, if there are a large
number of products, the Jobs Scheduled should jump to a really high
number and then process down. The number of Pages does not include
the products pages. The only way to see if it actually worked is to
run a test search using the search control. If it did not, check the
DNN Event Log for errors coming from SearchBoost.
Troubleshooting:
- You can look in your website's /Admin/LogViewer to find error
messages
- If you see the error "No connection string named
ClarityEcommerceEntities" could be found in the application
config file; then you need to add the "ClarityEcommerceEntities"
in your DNN's website web.connectionStrings.config.