Implementing InSite Search After Site Upgrade
- The CMS site instance and DSS instance must be upgraded to your chosen CMS 10.x version.
- To upgrade to CMS 10.5–10.6, see CMS 10.5–10.6 Upgrade Considerations for details.
- To upgrade to CMS 10.0–10.3, see CMS 10.0-10.3 Upgrade Considerations for details.
- If InSite Search is already implemented before upgrading your CMS, then upgrade InSite
Search to the appropriate version.
- See InSite Search Release Notes for details about CMS compatibility with the latest InSite Search version.
- See InSite Search Previous Release Notes for details about CMS compatibility
with older versions of InSite Search.Version Notes: CMS 10.1 and InSite Search 2.10.14With the release of CMS 10.1, feature updates to the Ingeniux Runtime API have driven changes in InSite Search. If you have implemented InSite Search and wish to upgrade to CMS 10.1, upgrade to InSite Search 2.10.14 or above, as InSite Search 2.9.8 or below will not function on DSS sites upgraded to the CMS 10.1 code base.
After upgrading from an earlier version CMS of your site instance to Ingeniux CMS 10.x, the system may require you to re-establish InSite Search.
Search Source for CMS Content
The release of CMS 10.1 introduced a change to the Dynamic Site Server's RTAPI to facilitate future upgrades via NuGet package. Customers upgrading DSS projects with a configured InSite Search implementation to the CMS 10.1 code base will need to upgrade to InSite Search 2.10 and will need to update Search.config file so that the type is updated from Ingeniux.Runtime.DssContentSearchSource to Ingeniux.Runtime.Search.DssContentSearchSource for any DSS Content Indexing Source.
Custom Controller Implementations
If your InSite Search implementation relies on a custom controller, you can no longer retrieve the SiteSearch object via the Reference.SiteSearch property. Instead, the Site Search instance is a DSS application variable as of CMS 10.1. If you are using a custom controller, change any instance of the Reference.SiteSearch property to the DSS's local application variable as shown in the example below.
If your custom search controller is not based on the sample search result controller that is found in the DSS project, or you are retrieving results directly on a view, you can construct a new Application variable to retrieve the SiteSearch object.
Example:
var siteSearch = System.Web.HttpContext.Current.Application["SiteSearch"] as
Ingeniux.Search.SiteSearch;