I need to delete all relationships between all nodes. Is there any way to delete all relationships in the neo4j graph? Note that I am using ruby bindings - the neography gem.
There is no info about that in the wiki of the gem. I've also tried to…
I'm trying to find out why my cypher query is running so slow (2-5 seconds for only 5000 nodes).
The query is trying to find all the jobs the a profile can reach inside his network (a job the his friends or his friends of friends work in the same…
I'm using neo4j for the first time, neography for Ruby. I have my data in csv files. I can successfully populate the database through my main file, i.e. create all nodes. So, for each csv file (here, user.csv), I'm doing -
def create_person(name,…
I'm successfully using the neography gem, with one small problem. I cannot seem to specify the type of node I want. The API I'm using is:
@neo.create_node({doors: 4, brand: 'ford', model: 'fiesta'})
I want to be able to do the equivalent of:
CREATE…
Im currently building something with Neo4j and Neography and were wondering what is preferred: Using the traverse method or a Cypher query?
Personally, I like Cypher, but I have no idea which is better/more performant
I have been using neography gem for my rails project and sometimes I end up getting the following error:
#error inspect
Could someone help me troubleshooting this error? Also I am not able to…
I am using the below to get nodes from an index:
neo.get_node_index('nodes_index', 'type', 'repo')
Which works fine. However, the data returned is a Hash object, as below:
>…
I'm using the awesome neography gem and have run into a slight problem converting the results of a Cypher query to a structured object (OpenStruct.new... )
I don't know how to create a hash or a OpenStruct from the columns and data query results,…
I am working on a Ruby on Rails project that will read and parse somewhat big text file (around 100k lines) and build Neo4j nodes (I am using Neography) with that data.
This is the Neo4j related fraction of the code I wrote:
d=…
I am coding in Ruby using Neo4j with the gem Neography. When doing query, I use the method execute_neo4j_query provided by Neography. I am not sure about the best practice.
Suppose I use following code to fetch a user:
user1 =…
We're running sidekiq workers that utilize neography to do batch operations.
Our batch array holds up to 400 operations before flushing (we've tried lower numbers as well).
We hit the R14 memory error on heroku and things grind to almost a halt, so…
I have ruby file which im running in my mac with OSX 10.9 that is a combination of sinatra and geography which i have both installed. when i use require 'sinatra' on the file everything is fine, but when i insert require 'neography' it gives me this…
I am experimenting using Neography with Rails 3 and can't quite understand where to specify DB connections, Model Validations (validates_presence_of) etc. The examples available for Neography does not have one for Rails. Would appreciate any…
I'm trying to implement a rails application with neo4j. For hosting I found that Heroku supports neo4j REST (public beta). Looking for gems I found neography and neo4j.
I started with neo4j and didn't find support for REST. Is it possible to work…
Trying to execute a parameterized Cypher query with Neography v0.0.23.
Even though the non-parameterized version works:
Neo.execute_query("start n=node(3) return n")
=> {"data"=>[[{....
The parameterized version doesnt…