Changes to the Advanced Language Manipulation Tool
Ever had trouble with SearchDataSource on a migrated site where you have changed the master language? Well, you're not the only one.
Changing master language using a tool like Advanced Language Manipulation Tool will not affect the fkLanguangeBranchID in the tblKeyword table. That is why you might get "Object reference not set to an instance of an object" when trying to search using the SearchDataSource control (due to the page security check in the public TextSearchResults SearchPages(), the page will be null and an unhandled exception is thrown).
A colleague of mine, Øyvind, found a tool for rebuilding the keyword index ("hidden" as an FAQ).
To save all of you some trouble, I've extended the Advanced Language Tool to include rebuild index support.
The tool is easy to install, just download the .epimodule file and install it using EPiServer Deployment Center.
For source code, module download and more please visit
https://www.coderesort.com/p/epicode/wiki/LanguageTools
The language manipulation tool was originally created by Adam Najmanowicz.
Comments