CALL db.resampleIndex did not find index


On page How Queries Work in Neo4j - Cypher Query Tuning in Neo4j 4.x there is the example

CALL db.resampleIndex(':Person(name)')

When I typed this command I got 'No such index ':Person(name)''

To make it work, I did the following:

CALL db.resampleIndex('index_1d2d0abd')


Thanks @chribonn

The way indexes are named has changed since the course was written. We will need to correct the course so that one determines the names of the indexes by calling db.indexes() to find the names of the indexes and uses the correct name.


Welcome @elaine.rosenberg

I used :schema list the the indices