spring-projects / spring-ai

An Application Framework for AI Engineering
https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/index.html
Apache License 2.0
2.99k stars 738 forks source link

Incorrect index name in Neo4j #979

Open ErykCh opened 3 months ago

ErykCh commented 3 months ago

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

mnd999 commented 3 months ago

Use backticks:

DROP INDEX `spring-ai-document-index`
csterwa commented 3 weeks ago

@ErykCh please check if this is resolved in M2 release.