DESCRIBE SEARCH INDEX
|
Solr indexes and searches are only supported in Astra Managed Clusters Advanced Workloads (Tier E) databases. |
Shows the definition of specified search index in XML format.
|
This command is available only on DSE Search nodes. Running search index management commands on large datasets can take longer than the CQL shell default timeout of 10 minutes. |
Synopsis
DESCRIBE ( PENDING | ACTIVE )
SEARCH INDEX ( SCHEMA | CONFIG )
ON [<keyspace_name>.]<table_name>
| Syntax conventions | Description |
|---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrConfig files. |
- ACTIVE
-
Index configuration resources that are currently applied.
- PENDING
-
Index configuration resources that pending but not yet applied.
- SCHEMA
-
Show the fields to index in Apache Solr™ and types associated with them. These fields map to database columns.
- CONFIG
-
Show the configuration information for the index.
- keyspace_name.table_name
-
Identifies the table of the search index; keyspace name is required when the table is not in the active keyspace.
Examples
Show the active index configuration for wiki.solr:
DESCRIBE ACTIVE SEARCH INDEX CONFIG ON wiki.solr;
The returned results are in XML.
Show the pending index schema for wiki.solr:
DESCRIBE PENDING SEARCH INDEX SCHEMA ON wiki.solr;