/
Kentico: Creating the Indexing Scheduled task

Kentico: Creating the Indexing Scheduled task

In this article you’ll find:

Goal

The goal of this article is to show you how to create the scheduled task from the Kentico backend application.

Prerequisites

Created field mappings - Kentico: Indexing API Overview

Steps to creating the scheduled task

  1. From the application selector side menu (F2 or button top left) choose Configuration/Scheduled tasks.

  2. Click New task.

  3. Write your desired display name in Task display name, for example “Hawksearch Indexing”.

  4. In Task provider choose Hawksearch.Kentico.Xperience.CMS for the assembly name.

  5. In Task provider choose Hawksearch.Kentico.Xperience.CMS.Tasks.IndexingTask for the class name.

  6. If you’re using the Indexing API indexing, there is one more thing you need to do. In the Task data field, you have to specify a JSON string which contains the Index display name that you would like to index with this task. It needs to match the display name defined in Kentico: Manage indexes . For example:

    { "IndexDisplayName" : "Main" }
  7. Choose your desired runtime frequency parameters, for example once per day.

  8. Click save.

 

Related content

Kentico: Indexing API Overview
Kentico: Indexing API Overview
More like this
Kentico: Manage indexes
Kentico: Manage indexes
More like this
Kentico: Creating your own Indexing API Indexer
Kentico: Creating your own Indexing API Indexer
More like this
Kentico: Multisource indexing: Setup
Kentico: Multisource indexing: Setup
More like this
Kentico: System Settings Setup
Kentico: System Settings Setup
More like this
Kentico: Multisource indexing: Creating an external indexing service
Kentico: Multisource indexing: Creating an external indexing service
More like this