Describes the properties of a Cortex Search service.
DESCRIBE can be abbreviated to DESC.
Syntax¶{ DESC | DESCRIBE } CORTEX SEARCH SERVICE <name>;
Copy
Parameters¶name
Specifies 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.
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.
Usage notes¶To post-process the output of this command, you can use the pipe operator (->>
) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.
The output column names for this command are generated in lowercase. If you consume a result set from this command with the pipe operator or the RESULT_SCAN function, use double-quoted identifiers for the column names in the query to ensure that they match the column names in the output that was scanned. For example, if the name of an output column is type
, then specify "type"
for the identifier.
The following example describes the Cortex Search service named mysvc
:
DESCRIBE CORTEX SEARCH SERVICE mysvc;
Copy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4