Neo4j is an open-source graph database implemented in Java. You can use it directly from Java, all JVM Languages and Python or via the REST API with drivers in any language.

learn more… | top users | synonyms

0
votes
0answers
4 views

How to configure Spring with Neo4j Ha cluster?

I have clustered 3 instances of Neo4j Enterprise Edition (v1.8.2) on 3 different machine with Ha and they are working good as of now. I wanted to know how can I configure my Spring configuration ...
0
votes
0answers
7 views

Neo4j on Heroku with Python

I'm trying to get the Neo4j on Heroku and Getting Started with Python on Heroku tutorials up and going. The Neo4j one works fine, but the Python one has problems. For anyone else trying to follow ...
0
votes
0answers
8 views

how to distinguish relationships between <-[r]-> and -[r]- in Cypher query

I thought that in Cypher relationship "<-[r]->" means "<-[r]- AND -[r]->, while relationship "-[r]-" means "<-[r]- OR -[r]->". But they returned the same result. start n=node(1), m=node(2) ...
0
votes
1answer
7 views

Can Neo4j Cypher query do similar thing as “Having” in SQL?

SQL has "Having" clause, for example: SELECT LastName, COUNT(*) FROM Employees GROUP BY LastName HAVING COUNT(*) > 10; In Cypher, we can do count() START n=node(2) MATCH (n)-[r]->() RETURN ...
0
votes
2answers
26 views

Index by more than one parameter?

I'm creating an index for my user nodes called 'users', where the key is 'email' (with the users email as value). So far so good - I can easily get users by email. My user nodes also hold the user ...
1
vote
1answer
22 views

create relationships between nodes in parallel

Using cypher and neo4j 2.0. Given two sets of node ids (of equal length) and a set of weights, I'd like to create a relationship between the corresponding nodes and set the weight as a property. ...
0
votes
1answer
16 views

Connection refused error in django when use neo4django (neo4j for django)

I am working on django project that uses neo4j database.this is a section of my models.py file: models.py: from neo4django.db import models class User(models.NodeModel): firstName = ...
1
vote
1answer
26 views

get the relationship between two nodes cypher query using node

Here is I have done, I want get the relationship between two nodes i.e user nodes and other nodes. Here user nodes have two kinds of relationship (user) - [:knows] -> (other) and (user) - ...
0
votes
1answer
14 views

neo4j cypher (optional relationships on null endpoints)

I have simplified my complex cypher down its core issue. START focus=node(2), user=node(20) MATCH focus-[:USER_FEED_LIST*1..15]->pointer-[:POINTER]->item, ...
0
votes
1answer
19 views

Why do neo4j cypher node(*) queries not execute programatically?

We are trying Neo4j 1.9, we found that the node(*) queries run fine in the shell, but when we tried the same queries programatically, it just throws "org.neo4j.cypher.ParameterWrongTypeException: ...
2
votes
1answer
30 views

Difference in cypher peformance depending on phrasing?

I have a created a test dataset resembling some client data with the following structure: *1 100k *3..30 [:author]--------> person <---------[:member] | ...
0
votes
1answer
24 views

Neo4j slow cypher query

I have a problem with my cypher query : start mag=node(1387),f=node(53) MATCH mag-[:MAGASINS]->t-[:CONTAINS_SF]->sf1-[:IN_FAMILLY]->f WITH distinct t,f MATCH ...
1
vote
1answer
12 views

Batch create or get path in py2neo

I'm trying to create a date/time tree in neo4j as Nigel Small described here. I want to pre-populate all dates for a certain period of time, and as such, want to run multiple get_or_create_path()s in ...
0
votes
1answer
14 views

How to connect to a remote neo4j instance using a GraphDatabaseService?

We currently have a JavaEE deployment using Glassfish and the JCA neo4j-connector, which means neo4j is started as an EmbeddedGraphDatabase for which we can only use neo4j community. My boss requires ...
0
votes
1answer
19 views

Load neo4j database with java

I have a neo4j database ready and I want to make a java app for retrieving data from it. How can I load this already made database in my program and then query it? In the code I'm giving below I want ...

1 2 3 4 5 144
15 30 50 per page