---
title: Smart search database tables and API
related:
  - https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website.md
  - https://docs.kentico.com/13/custom-development/database-table-api.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

## Database tables

| Database table          | Description                                                                                                                                       |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| CMS\_SearchIndex        | Stores records representing smart search indexes.                                                                                                 |
| CMS\_SearchIndexSite    | Stores relationships between smart search indexes and sites. Each record indicates that an index is assigned to a site.                           |
| CMS\_SearchIndexCulture | Stores relationships between smart search indexes and cultures (languages). Each entry indicates that an index includes pages in a given culture. |
| CMS\_SearchTask         | Stores indexing tasks for local search indexes.                                                                                                   |
| CMS\_SearchTaskAzure    | Stores indexing tasks for Azure search indexes.                                                                                                   |

![](https://docs.kentico.com/docsassets/13/smart-search-database-tables-and-api/search_db_tables.png)

## API classes

| Class                                 | Namespace                                                          | Description                                                               |
| ------------------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------- |
| **CMS\_SearchIndex table API**        |                                                                    |                                                                           |
| SearchIndexInfo                       | CMS.Search                                                         | Represents individual search indexes.                                     |
| SearchIndexInfoProvider               | Provides management functionality for search indexes.              |                                                                           |
| **CMS\_SearchIndexSite table API**    |                                                                    |                                                                           |
| SearchIndexSiteInfo                   | CMS.Search                                                         | Represents relationships between search indexes and sites.                |
| SearchIndexSiteInfoProvider           | Provides management functionality for site-index relationships.    |                                                                           |
| **CMS\_SearchIndexCulture table API** |                                                                    |                                                                           |
| SearchIndexCultureInfo                | CMS.Search                                                         | Represents relationships between search indexes and cultures (languages). |
| SearchIndexCultureInfoProvider        | Provides management functionality for index-culture relationships. |                                                                           |
| **CMS\_SearchTask table API**         |                                                                    |                                                                           |
| SearchTaskInfo                        | CMS.Search                                                         | Represents individual indexing tasks for local search indexes.            |
| SearchTaskInfoProvider                | Provides management functionality for local indexing tasks.        |                                                                           |
| **CMS\_SearchTaskAzure table API**    |                                                                    |                                                                           |
| SearchTaskAzureInfo                   | CMS.Search.Azure                                                   | Represents individual indexing tasks for Azure search indexes.            |
| SearchTaskAzureInfoProvider           | Provides management functionality for Azure indexing tasks.        |                                                                           |
| **Other classes**                     |                                                                    |                                                                           |
| SearchHelper                          | CMS.Search                                                         | Provides general smart search functionality and data.                     |
| SearchIndexSettingsInfo               | CMS.DataEngine                                                     | Represents the settings that define the index content.                    |
| SearchIndexSettings                   | CMS.DataEngine                                                     | Provides management functionality for _SearchIndexSettingsInfo_ objects.  |
| SearchParameters                      | CMS.Search                                                         | Stores the parameters of individual searches.                             |
