neo4j

How to DELETE nodes or relationship with NULL properties in neo4j 2.0 with cypher

我怕爱的太早我们不能终老 提交于 2019-12-22 04:56:07
问题 I have created some nodes and relationships within these. But while doing these something wrong happened. I want to delete all nodes having "SGS", except node with ID 2. Following is script I ran to create node and relationships: (Please also suggest how to EDIT this one, if possible) I tried DELETE (along with match, where, IS NULL, etc) with some different trial and error methods but unable to achieve same. Please Help. 回答1: It looks like all your nodes have a name, except the node that you

Hosting Neo4J Browser Separately From Server

点点圈 提交于 2019-12-22 04:39:45
问题 I want to have three different Neo4J instances running (each with a different database). Then I need three different Neo4J browser visualizers (think project1.domainname.com / project2.domainname.com / project3.domainname.com) with each one mapping to a specific database instance I've managed to get the three different database instances running on a single Azure VM - so far so good. But I'm not sure how to create and map those browsers. I'd like to run them each as Azure websites as that

Is there a tool to dump a Neo4j graph as Cypher and re-load it from Cypher?

和自甴很熟 提交于 2019-12-22 04:29:18
问题 Everyone familiar with MySQL has likely used the mysqldump command which can generate a file of SQL statements representing both the schema and data in a MySQL database. These SQL text files are commonly used for many purposes: backups, seeding replicas, copying databases between installations (- copy prod DBs to staging environments etc) and others. Is there a similar tool for Neo4j that can dump an entire graph into a text file of Cypher statements, that when executed on an empty database

What is the location of the configuration file in Neo4J 3.0?

こ雲淡風輕ζ 提交于 2019-12-22 04:07:40
问题 I have recently installed Neo4j 3.0, and since I need to enable outside access, I need the configuration file, and where in the 2.3.3 the configuration files were located in within the /var/lib/neo4j/ structure. I am not able to locate them anywhere in the 3.0 version. I know it have changed name to neo4j.conf. My folder structure in the above directory is: plugins import data certificates I am running Ubuntu 16.04 (Xenial Xerus). I have tried the documentation. However, that doesn't describe

What is the location of the configuration file in Neo4J 3.0?

二次信任 提交于 2019-12-22 04:07:11
问题 I have recently installed Neo4j 3.0, and since I need to enable outside access, I need the configuration file, and where in the 2.3.3 the configuration files were located in within the /var/lib/neo4j/ structure. I am not able to locate them anywhere in the 3.0 version. I know it have changed name to neo4j.conf. My folder structure in the above directory is: plugins import data certificates I am running Ubuntu 16.04 (Xenial Xerus). I have tried the documentation. However, that doesn't describe

Read-only web access to a read-write database in Neo4j 3.0

ぐ巨炮叔叔 提交于 2019-12-22 03:22:41
问题 There has been quite a few changes to the core of Neo4j in this new update, which is really exciting. One thing that was lacking in previous Neo4j releases was the ability to let users use the web interface. Well, they could use it if you didn't mind them being able to delete everything, or you didn't mind making the whole database read-only to everyone, including yourself. Is there a workaround now in 3.x? I see you've made some pretty awesome improvements to the web interface (which seem to

Neo4j DATE Data Types

橙三吉。 提交于 2019-12-22 03:16:07
问题 I am using Neo4j 2.0 version. Suppose, I have lot of records which have date as one of their fields and if we need to support lot of queries like count of records between two specific dates etc, I think that I may have tpo index all the records by Date field. Is this correct? Then., how do I do it. All nodes of the type "RECORD" need to be indexed dy date. How can I achieve this? Please note that Date is a not unique field. And how do I even store Date property in the records. Is Date

spring-boot upgrade from 1.3.2 to 1.3.3: logback issue

独自空忆成欢 提交于 2019-12-22 02:30:11
问题 We've hit an issue when upgrading from spring-boot 1.3.2 to the recently released 1.3.3. Our application has been making use of the following dependencies, each the latest, without issue: <neo4j.version>2.3.2</neo4j.version> <sdn.version>4.0.0.RELEASE</sdn.version> <sdn.rest.version>3.4.0.RELEASE</sdn.rest.version> <neo4j.ogm.version>1.1.5</neo4j.ogm.version> Today I upgraded our spring-boot and Spring Data Neo4j -based application, which starts and works well with spring-boot 1.3.2.RELEASE,

How to delete all relationships in neo4j graph?

血红的双手。 提交于 2019-12-22 01:52:10
问题 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 find a way to do it in the neo4j documentation without any result. Neo4j version is 1.7.2. 回答1: in cypher: deleting all relationships: start r=relationship(*) delete r; creating all relationships between all nodes, i'd assume: start n=node(*),m=node(*

Neo4j in Azure mobile services

你离开我真会死。 提交于 2019-12-22 00:16:22
问题 I have been trying to use a Neo4j database as my database in an Azure Mobile service. I was following this tutorial and I cant seem to get it to work. Basically what the tutorial does is: Creates a VM hosted by Azure, running ubuntu and neo4j. Creates an Azure mobile service with an SQL table. Writes an insert script for the SQL table that uses node.js to connect to the Neo4j VM and past the data there. Unfortunately mine does not seem to work. The data gets posted to the mobile services SQL