How do I pass parameters when calling apoc.cypher.runFile

APOC allows one to have a stored procedure, apoc.cypher.runFile, to then run the contents of the file to the Cypher engine. To allow the reading of the file in the conf/neo4j.conf one needs to define apoc.import.file.enabled=true and then if one… Read more →

Explore:  


Viewing schema data with APOC Procedures

APOC Procedures offers meta procedures to view information about your database schema and the data it stores. The procedure apoc.meta.schema() uses a sampling of the graph data to produce a map of metadata on the graph labels, relationships, properties, and… Read more →

Explore:  


How to get a high level inventory of objects in your graph

The following Cypher can be used to get a simple high level view of the number of objects within your graph database. This may be used if one is trying to compare the contents of two databases: match (n) return… Read more →

Explore:  


Using Cypher and APOC to move a property value to a label

Commencing with Neo4j 3.0 and the introduction of stored procedures as well as APOC one can utilize the stored procedure apoc.create.addLabels to move a property to a label with Cypher as follows // create a node with property studio create… Read more →

Explore:  


How does apoc.periodic.iterate work with resources?

How does apoc.periodic.iterate work? For example, when running call apoc.periodic.iterate(“MATCH (n) RETURN n”, “DETACH DELETE n”, {batchSize:1000}) does it append a LIMIT to the MATCH RETURN so that it only returns the batchSize or does it return everything but it… Read more →

Explore:  


Explanation of error: procedure is not available due to having restricted access rights, check configuration

Commencing with Neo4j 3.2 when running a stored procedure, for example call apoc.warmup.run(); this may error with apoc.warmup.run is not available due to having restricted access rights, check configuration. The cause of this error is as a result of not… Read more →

Explore:  


How to perform a Soundex search

Using apoc.text.phonetic one can perform a Soundex search. For example if one defines the following nodes CREATE (n:Person {name:’Anders’}) CREATE (m:Person {name:’Andrew’}) CREATE (p:Person {name:’Andres’}) then to find these 3 nodes, since they all have the same Soundex value as… Read more →

Explore: