Configure a localized API push

The API push source is a source configuration to create and maintain indexes exclusively for content you push to Sitecore Search. After you configure an API push source, a developer uses the Ingestion API to add documents to the API push source's index.

Important

To index localized versions of non-crawlable content, you need an API push source.

For example, assume that your content is on a social networking-type site that consists exclusively of visitor-generated content. Visitors create, update, and delete content every few seconds. To ensure that the latest content is always searchable, you can create an API push source and, in your application, have a developer set up a webhook that calls the API every time content is created, updated, or deleted.

Refer to our recommended best practices to index and crawl complete websites.

This walkthrough describes how to:

Create an API push source

You have to create a source before you can configure it.

To create a source:

  1. For example, enter Blog push source.

  2. For example, enter Push source for rush content for English and French.

  3. In the CONNECTOR field, click API Push as the type of source you want to create.

Configure available locales

Configure available locales to define the subset of domain languages you want to use for the source. All sources have English (US) as the default locale. You can add locales or edit the default locale using the following procedure.

Important

To ensure stable ingestion, do not include more than 30 locales per API push source.

To configure locales:

  1. On the Source Settings page, click Edit next to Available Locales.

  2. On the Available Locales page, click inside the LOCALES field to see a list of locales available for this domain, and then the locale you want.

  3. Click Save.

Publish updates to the source

You must publish the API push source before you can use the Ingestion API to create index documents and add them to this index.

To publish the source:

  1. On the Source Settings page, click Publish.

  2. In the dialog box that asks you to confirm whether you want to publish the source, click Publish.

Now, a developer can use the Ingestion API to create, update, and later, even delete, index documents for this source.

Do you have some feedback for us?

If you have suggestions for improving this article,