-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The Keyword Repair Utility is used to delete and regenerate all mandatory search keywords in PxStat. Mandatory keywords are defined as those that are automatically generated by the PX file import process. An issue was found where English language keywords that included diacritics (e.g. café, Škoda) were wrongly split into multiple words. In order to fix this retrospectively, it is necessary to run the Keyword Repair Utility.
The utility uses the Px language plugins to do language specific tasks. You must include at least the language plugin for English and an additional language plugin for each supported language. See https://github.com/CSOIreland/PxLanguagePlugins for details.
The appsettings.json file includes two sections:
- The database connection string. This must be amended to connect to the required PxStat database
- The language plugin configuration.
This consists of 3 sections:
- lngIsoCode: This is the 2 letter ISO code for language, e.g. "en" for English
- location: This is the physical location of the language plugin
- translationUrl: This will be the same translation url as used in the PxStat configuration
The application runs as a console app. The application delivers a summary of progress as it proceeds.