SHOW INDEXES¶
SHOW INDEXES
shows the defined tag or edge type indexes names in the current graph space.
Syntax¶
SHOW {TAG | EDGE} INDEXES
Examples¶
nebula> SHOW TAG INDEXES;
+------------------+--------------+-----------------+
| Index Name | By Tag | Columns |
+------------------+--------------+-----------------+
| "fix" | "fix_string" | ["p1"] |
| "player_index_0" | "player" | ["name"] |
| "player_index_1" | "player" | ["name", "age"] |
| "var" | "var_string" | ["p1"] |
+------------------+--------------+-----------------+
nebula> SHOW EDGE INDEXES;
+----------------+----------+---------+
| Index Name | By Edge | Columns |
| "follow_index" | "follow" | [] |
+----------------+----------+---------+
Legacy version compatibility
In NebulaGraph 2.0.1, the SHOW TAG/EDGE INDEXES
statement only returns Names
.
Last update:
March 13, 2023