Home‎ > ‎


The indexing is running very slow. Could it slow down the site?

Here are some things to look for:
- you forgot the Log level to Debug. This slows the indexing as it is writing to a file very frequently. In production set to Info at most.
- you have a lot content to index. SearchBoost looks for new content every one hour by default. You can set the scheduler job Search Boost - Query Content Sources to run less frequently.

What algorithm does SearchBoost use to rank results?
By default SearchBoost sorts results by Relevance. 

Why do I see in the log errors like "System.Threading.ThreadAbortException: Thread was being aborted."?

This error can be ignored. Asp.net recycles the applications from time to time and doing that means that any background thread is destroyed. Theoretically, this can be avoided but it is quite hard to do in DNN. Even the default Dnn Search has this error.

Does indexing start automatically on adding module to page?


Does indexing start automatically on updating?

Why does SearchBoost return results without searching anything?

You have set "Instance Name" in Results module settings. You should let this setting to "No instance".

I have added a file in Portals folder but SB doesn't index it.

You have to first sync the folder by accessing File Management.

What does the number under "Items in queue" actually represent?

This is the total number of items waiting to be indexed and is displayed in order for the admin to know that indexing is not finished. An item can be a file, module, custom rule or anything indexable.

I have uninstalled SearchBoost (why?) and now the site crashes (object reference or something...). What should I do?

Explanation: This usually happens when SearchBoost had been set as skin object (you clicked "Patch DNN Skins"). In order to recover the DNN instance you have to restore the skins from /Portals/_default/Skins, meaning that you have to copy the skins from the DNN archive.

Temporary solution: Append ?skinsrc=[G]Skins/gravity/2-Col to every page you want to access. 

Permanent solution: Replace all the skins with the default skins (we will add an Unpatch function in the following days).

Problem with Lucene.Net.Index/Search


DotNetNuke.Services.Exceptions.PageLoadException: read past EOF ---> System.IO.IOException: read past EOF
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)
at avt.SearchBoost.Core.Indexing.LuceneStorage.GetSearchResults(SearchContext searchContext, Int32 currentPage, Int32 pageSize)
at avt.SearchBoost.SearchBoostController.Search(SearchInstance searchInst, Int32 filterPortalid, Int32 activePortalId, Int32 activeTabId, String searchTerm, Int32 currentResultsPage, Int32 pageSize, Int32 moreLikeThis, IList`1 categories, IList`1 contentFilters, IDictionary`2 customFilters)

Cause: The index got corrupted. This might happen for example if the process is terminated during a write operation.

  • For versions 2.9 or older: Delete the folder /Portals/_default/.Lucene1234Something ;
  • For versions 3.2 or newer: Delete the folder/Portals/{portalnumber}/SearchBoost/Index_XXXX/ .
You might have to restart IIS so it releases handles that are still open on this folder. Reindex from Search Boost admin screen.

Problem with installation of PDF Indexer With PdfBox Add-on

Exception: 500 - Internal server error.

Explanation: There is a problem with the resource you are looking for, and it cannot be displayed.

Cause: The limit in web.config is set around 12MB and PDF Indexer With PDFBox Add-on is bigger.

Solution: website root/web.config->change maxRequestLength (has value maxRequestLength="12288").

I'm creating my own template. How do I see which fields I should use?
In Search Boost admin, under General Settings, there's an option that says Debug:Show XML. Once you enable this, you'll see a button below the search box and search results on the front end that will show you the XML used during the transformation of the template. This will contain all fields that you can use.

Why search results are displayed only when logged in as a host?

If documents are uploaded via FTP (and then synced in the DNN File Manager), the folder permissions are blank. SearchBoost checks for specific "allow" permissions for document directories. The solution is to go into the DNN File Manager, View Properties on the document folders, and click the appropriate boxes for All Users to view and open documents, then copy permissions to subfolders.

Remember to reindex after updating permissions.

How to create a custom rule to index articles from Easy DNN News

See this section: Easy DNN News articles

How to modify the "Your search for term ... did not generate any results" message

Open the noresults.xsl file from \DesktopModules\DnnSharp\SearchBoost\templates\output\default and customize the message according to your needs.

I am getting errors like "Could not load file or assembly" Lucene.Net (or other library). Why?

You don't have the correct version of the required library. There is always the possibility that another module replaces a library and .Net framework doesn't offer an easy solution to this.
You should see the necessary version in the error message and you can check what version you have in two ways:
- download General InfoEasily download debug information
- go to bin folder (Not in subfolders) and right-click on the library dll file: Properties -> Details -> File version.
Fix the problem by replacing the dll from the bin folder (backup this as it might trigger issues with other modules) with the ones from the installation zip.
Note: usually it is best to have the latest version of a library.

What's the deal with Facets, Categories, Custom Data and Search Filters?

Facets and categories are related (facets use categories). When you enable facets for documents or modules then above the results appear the categories.
Custom Data is what the name implies: parameters that you can use to customize appearance of search results (using xsl templates) but you can also filter search results by parameters values. You can add custom data to indexed documents (with metadata) and custom database rules.
Search Filters allow the user to select from dropdowns that appears next to a search-box to apply additional filters to the search.