How to Use the TaxonomyPreLoader Tool

About TaxonomyPreLoader Tool

The TaxonomyPreLoader tool is used to improve the loading performance of taxonomy refiners by pre-loading the terms from the Term Store and cache them on disk.

  • For each term set specified in the settings, a file that contains the necessary details for all terms from that term set is created on disk.
  • The tool can be found in the SmartHub install package in the Tools folder: <SmartHubPath>\Tools\TaxonomyPreLoader

How to Use the Tool

  1. Open the TaxonomyPreLoader.exe.config file found in TaxonomyPreLoader folder.

  2. Configure the settings:



    1. SetupMode
      1. The SharePoint version. Choose between SharePointOnprem and SPOnline.
    2. SiteUrl
      1. The URL of the site collection used to access the Term Store.
    3. Username
      1. The username of the user used to log on the provided site collection.
    4. Password
      1. The password of the user used to log on the provided site collection.
    5. TermSetsIds
      1. The list of Term Sets IDs separated by semicolon for which the terms will be cached.
    6. TaxonomyCacheKeyFormat: (Do not change)
      1. The format of the files name that contain the cached terms of each term set.
    7. CachingFolder
      1. The path where the Taxonomy Term sets are to be cached.
        For example:



  3. Run the TaxonomyPreLoader.exe file or create a Windows Task to run the tool based on a schedule.