Created index name is: spring-ai-document-index
But it seems it's uncommon to use - in names in Neo4j
DROP INDEX spring-ai-document-index DROP INDEX 'spring-ai-document-index' DROP INDEX "spring-ai-document-index" doesn't work
Comment From: mnd999
Use backticks:
DROP INDEX `spring-ai-document-index`
Comment From: csterwa
@ErykCh please check if this is resolved in M2 release.
Comment From: meistermeier
I think this issue could be closed. @mnd999 gave the right solution already. It's unrelated to any code in the project because this is just how escaping of names in Neo4j works. The index creation code also uses the backticks for all names. The only code solution(?)d we could provide is shortening the default name, but as soon as people start using dashes etc. again, they will have to deal with it again.