For the life of me I cannot figure out how to list all defined indexes within OrientDB. The following is the query syntax if you know the index name:
SELECT FROM INDEX:<index-name> WHERE key = <key>
How can I get a list of the existing index-names?
You can use this query:
select expand(indexes) from #0:2
or:
select expand(indexes) from metadata:indexmanager
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With