Neo4j - Is there a cypher query syntax to list (show) all indexes in DB?

前端 未结 6 1623
谎友^
谎友^ 2020-12-24 01:27

I\'m looking for something similar to the MySQL ( SHOW INDEXES ). I was able to get a list of indexes using py2neo in Python

graphDB = neo4j.GraphDatabaseS         


        
6条回答
  •  忘掉有多难
    2020-12-24 01:58

    neo4j 3.1 now supports this as a built-in procedure that you can CALL from Cypher:

    CALL db.indexes();
    

    http://neo4j.com/docs/operations-manual/3.1/reference/procedures/

提交回复
热议问题