Skip to content

Instantly share code, notes, and snippets.

@latant
Last active February 11, 2020 14:18
Show Gist options
  • Save latant/8c1f3b6fcc748adc03daf6cb093708af to your computer and use it in GitHub Desktop.
Save latant/8c1f3b6fcc748adc03daf6cb093708af to your computer and use it in GitHub Desktop.
Deleting fulltext node indexes from Neo4J database
call db.indexes()
yield indexName, type
with [i in collect({name: indexName, type: type}) where i.type = "node_fulltext" | i.name] as nis
unwind nis as n
call db.index.fulltext.drop(n)
return true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment