1. Search experiences

Manage content sources

Important

Feature availability is part of a phased rollout. Your organization may not see this functionality yet. It will become available when your environment is included in the rollout.

A content source is an index of content from your content library, along with the configurations that control how that content is searched. When a visitor uses a search component on your site, the results they get come from the search source you select for that component.

When you create a content source, you specify a content template from the Content editor and SitecoreAI ingests all published content items based on that template. The selected field values are stored directly in the source’s index, along with the rules and settings you define. To locate a published template, see identify the template that an item is based on.

Because a source contains both indexed data and configurations, changes you make to the source affect only search behavior. They do not modify the underlying content in your content library.

Note

If you make changes to data in your content library after creating a source, such as adding or deleting items, reindex the source to reflect those changes.

Tip

To index data from a website, use a site source.

Create a content source

When you save a new content source, it triggers the source's first ingestion.

Important

You must publish your data in the Content editor and initiate a reindex before it can be ingested by your source.

To create a source for your search experience:

  1. On the menu bar, click Content > Search sources.

  2. On the Search Sources page, click Create Source.

  3. In the Create new search source dialog, click Content Source.

  4. In the Create new search source dialog, in the Source Name field, enter a name for your source.

  5. In the Template ID field, specify the template ID that your source will pull data from.

  6. Optionally, add a Description for your source, then click Next Step.

  7. Choose the languages that this source will support. For more information on how to add languages to your environment, see Manage languages and locales.

    Note

    When you mark fields as Searchable , the Allowance meter will increase by the number of languages selected for this source. Once the allowance is reached, you cannot mark additional fields as Searchable.

  8. Click Next Step.

  9. Configure the fields in your source and their behavior, and then click Next Step.

  10. Enable the advanced settings you want to use in your source and then click Save.

Reindex content for a content source

When you make changes to content in the Content editor, you need to refresh sources so that the search information is accurate

When you reindex a source, SitecoreAI rebuilds the underlying index and seamlessly switches the source to use the updated index. This ensures that search experiences connected to the source continue to return results while the reindexing process completes.

To reindex content for a source:

  1. On the menu bar, click Content > Search sources.

  2. Next to the source you want to reindex content for, click Reindex content.

View a content source

Clicking on a source allows you to view and edit that source's configurations, including fields and rules.

To view the details associated with a source:

  1. On the menu bar, click Content > Search sources.

  2. Click a source.

  3. Click any of the following tabs:

    • Fields - to display the list of fields indexed by the source, and their configurations.

    • Pinning Rules - to display a list of pinning rules active on the source. Click Add a pin to create a pin rule.

    • Boost/Bury Rules - to display a list of boost and bury rules active on the source. Click Add new rule to create a new boost or bury rule.

    • Settings - to display the source settings, such as the source name, ID, and advanced settings.

Delete a content source

Important

When you delete a source, search components connected to that source do not return results. You can select a new source in the Source Configuration Manager menu.

To delete a content source:

  1. On the menu bar, click Content > Search sources.

  2. Next to the source you want to delete, Actions .

  3. Click Delete.

  4. To confirm the deletion, click Delete.

Configure a search component

After you have created a source, the next step is to configure a search component so your search experience can display the content indexed by that source.

If you have suggestions for improving this article, let us know!