Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-20-2020 02:14 AM
1.call apoc.cypher.run('CREATE INDEX idx_name FOR (n:Lable) ON (n.pro)', {})
Error: Schema operations are not allowed for user 'neo4j' with roles [admin] restricted to TOKEN_WRITE.
2.apoc.schema.assert() cant rename index name
other function can update index name ??
08-20-2020 03:16 AM
Hello @Noone and welcome to the Neo4j community
You can't rename an index, you must delete it and create the new one with the new name.
Regards,
Cobra
08-20-2020 04:38 AM
hi , Thanks for your reply ~ how can i create the a new index with new index_name . i just want to create a new index , but dont know how to set a index_name with apoc
08-20-2020 04:50 AM
Wait, are you talking about indexes or properties? If it's indexes, you don't need APOC for this
08-20-2020 05:17 AM
indexes . In my java project , use apoc manage neo4j data , so i want to use APOC add index and idx_name , like "CREATE INDEX idx_name FOR (n:Lable) ON (n.pro)"
08-20-2020 12:10 PM
What do you absolutely want to use APOC? You can write a Cypher query for this.
All the sessions of the conference are now available online