![]() I.e: dbms.active_database=new_db/graph.db press: Esc + :wq (to save the modification)Īfter executing sudo service neo4j start, you will see that the activated database is new_db/graph.db #dbms.active_database=graph.db remove the comment and add the name of the folder containing the database that you want to create and directly add its location before graph.db There is a commented assignment (at the beginning) which is: If new node labels or edge types are added to Neo4j, it's necessary to recreate these indices with the full list of categories.To create a new Neo4j database in Unix Environment, the following steps are needed:įirst, the configuration file of neo4j exists in the following location:Īccess the file using vim: sudo vim nfig Įdit the following (by pressing i (for insert)): Once we have this information we can create the indices with the following Cypher queries:Ĭall db.('myAlternativeNodeIdIndex',, , )
0 Comments
Leave a Reply. |