Home » Tag Archives: Neo4j (page 2)

Tag Archives: Neo4j

Neo4j 2.1: Passing around node ids vs UNWIND

neo4j-logo

When Neo4j 2.1 is released we’ll have the UNWIND clause which makes working with collections of things easier. In my blog post about creating adjacency matrices we wanted to show how many people were members of the first 5 meetup groups ordered alphabetically and then check how many were members of each of the other groups.         ...

Read More »

Neo4j Backup: Store copy and consistency check at Mark Needham

neo4j-logo

One of the lesser known things about the Neo4j online backup tool, which I wrote about last week, is that conceptually there are two parts to it: Copying the store files to a location of your choice Verifying that those store files are consistent. By default both of these run when you run the ‘neo4j-backup’ script but sometimes it’s useful ...

Read More »

Java: Schedule a job to run on a time interval

neo4j-logo

Recently I’ve spent some time building a set of tests around rolling upgrades between Neo4j versions and as part of that I wanted to log the state of the cluster as the upgrade was happening. The main thread of the test blocks waiting until the upgrade is done so I wanted to log on another thread every few seconds. Alistair ...

Read More »

Neo4j: Making implicit relationships explicit & bidirectional relationships

neo4j-logo

I recently read Michal Bachman’s post about bidirectional relationships in Neo4j in which he suggests that for some relationship types we’re not that interested in the relationship’s direction and can therefore ignore it when querying. He uses the following example showing the partnership between Neo Technology and GraphAware: Both companies are partners with each other but since we can just ...

Read More »

Neo4j: Exploring new data sets with help from Neo4j browser

neo4j-logo

One of the things that I’ve found difficult when looking at a new Neo4j database is working out the structure of the data it contains. I’m used to relational databases where you can easily get a list of the table and the foreign keys that allow you to join them to each other. This has traditionally been difficult when using ...

Read More »

neo4j/cypher: Getting the hang of query parameters

neo4j-logo

For as long as I’ve been using neo4j‘s cypher query language Michael has been telling me to use parameters in my queries but the performance of the queries was always acceptable so I didn’t feel the need. However, recently I was playing around with a data set and I created ~500 nodes using code similar to this:       ...

Read More »

Neo4j Java REST Binding – Part 2 (Batching)

neo4j-logo

In Part 1, we talked about setting up a connection to the Neo4j Server using the Java REST Binding. Let’s now go into some details about transactions, batching, and what the REST requests really look like.Make sure you turn on logging (set system property org.neo4j.rest.logging_filter to true) as described in Part 1. We will change our code to  execute these ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close