neo4j / neo4j-graphrag-python

Neo4j GraphRAG for Python
https://neo4j.com/docs/neo4j-graphrag-python/current/
Other
172 stars 26 forks source link

Allow "IF NOT EXISTS" Option When Creating Index #157

Closed zach-blumenfeld closed 4 days ago

zach-blumenfeld commented 3 weeks ago

Currently, create_vector_index will fail if the index already exists. I also don't have a method in this package, AFAIK, to check if an index already exists.

I think it's important for ingest programs to not terminate in these cases (i.e. running a recurring doc ingest into the same Neo4j DB). Can we have an argument or additional method to create an index "if not exists"