DESCRIBE CORTEX SEARCH SERVICE

statementsupportedAI & ML

docs.snowflake.com ↗

Object: CORTEX SEARCH SERVICE

Describes the properties of a Cortex Search service. DESCRIBE can be abbreviated to DESC.

Syntax

{ DESC | DESCRIBE } CORTEX SEARCH SERVICE <name>;

Parameters

NameRequiredDescription
nameSpecifies the identifier for the Cortex Search service. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. For more information, see Identifier requirements.

Usage notes

Output

The command output provides the Cortex Search service properties and metadata in the following columns: Column | Data Type | Description name | TEXT | Name of the service. database_name | TEXT | The database in which the service resides. schema_name | TEXT | The schema in which the service resides. target_lag | TEXT | The maximum amount of time that the service’s content should lag behind updates to the base tables. warehouse | TEXT | The warehouse used for service refreshes. search_column | TEXT | Name of the search column. attribute_columns | TEXT | Comma-separated list of attribute columns in the service. columns | TEXT | Comma-separated list of columns in the service. definition | TEXT | SQL query used to create the service. comment | TEXT | Any comments associated with the service. service_query_url | TEXT | URL for querying the service. source_data_num_rows | NUMBER | Current number of rows in the materialized source data. indexing_state | TEXT | Indexing state of the service; one of SUSPENDED or RUNNING. indexing_error | TEXT | Error encountered in the last indexing pipeline, if one exists. serving_state | TEXT | Serving state of the Cortex Search Service; one of SUSPENDED or RUNNING. created_on | TIMESTAMP_LTZ | Creation time of the Cortex Search Service. data_timestamp | TIMESTAMP_LTZ | Time at which the source data was checked for changes resulting in the currently serving index. embedding_model | TEXT | The vector embedding model used by the service. primary_key_columns | TEXT | Comma-separated list of primary key column names defined on the service. Empty if no primary key is set. scoring_profile_count | NUMBER | The number of named scoring profiles defined in the service. full_index_build_interval_days | NUMBER | The target interval, in days, between full index rebuilds that compact incremental refresh segments. Only applicable to services with primary keys defined. NULL if not set.