cypher Questions
5
Solved
I'm just wanting to know what is exactly Elastic Search.
It is said it helps to search data but when I see some webinars it feels like I have to replicate my data in a kind of Elastic datastore... ...
Inconsonant asked 7/1, 2016 at 14:41
6
I tried to log the cypher query generated by the spring data neo4j by using the following log4j configuration:
log4j.rootLogger=DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender...
3
Solved
I am using neo4j-driver to connect to neo4j via nodejs but I am facing an issue.
It gives the error failed to connect to server even when the database is up and running and can be accessed via neo...
Abubekr asked 14/11, 2020 at 6:47
5
Solved
When I run this query:
START n1=node(7727), n2=node(7730)
MATCH n1-[r:SKILL]->n2 RETURN r
it gives me a list of duplicate relationships that I have between the two nodes. what do I add to the...
3
Solved
I am trying to find a way to check if a certain index exists in cypher schema indexes. I can find all the indexes by using call db.indexes() . but how can I check for a specific index?
9
Solved
I can't find how to return a node labels with Cypher.
Anybody knows the syntax for this operation?
2
I am trying to convert the following string into a Public Key using X509 and KeyFactory. The Code that I have written so far is:
public static void main(String args[]) throws Exception {
String ke...
2
Is there any way to copy or move a relationship from one node to another?
I have a situation similar to that here:
neo4j merge 2 or multiple duplicate nodes
and here:
Copy relationships of diff...
6
Solved
In SQL:
Delete From Person Where ID = 1;
In Cypher, what's the script to delete a node by ID?
(Edited: ID = Neo4j's internal Node ID)
Ashkhabad asked 26/1, 2015 at 4:19
5
Solved
I've built and installed the "apoc" procedures according to the github page (The apoc-1.0.0-SNAPSHOT.jar file was copied into the plugins directory after the suerver was stopped, and then I started...
Jink asked 27/4, 2016 at 18:7
3
Solved
Is it possible to extract in a single cypher query a limited set of nodes and the total number of nodes?
match (n:Molecule) with n, count(*) as nb limit 10 return {N: nb, nodes: collect(n)}
The...
7
Solved
What is the best way to cleanup the graph from all nodes and relationships via Cypher?
At http://neo4j.com/docs/stable/query-delete.html#delete-delete-a-node-and-connected-relationships the exampl...
3
Is there any way to use UNWIND for potentially empty collections (e.g. OPTIONAL UNWIND g)?
For instance, in the attached query it occurs that the collection (items) is empty sometimes (3rd block),...
Wembley asked 24/4, 2015 at 7:3
4
Solved
I am having 2 node types lets say of type 'Student' and 'Teacher'
Student have {id, name}.
Teacher have {id, name}.
Student can have optional relationship with Class node as 'TEACHES'.
(t:Teach...
Deposition asked 21/4, 2014 at 11:4
7
Solved
I would like to find out all the incoming and outgoing relationships for a node. I tried couple of queries suggested in other questions but not having much luck. These are the two I tried
MATCH (a...
3
Solved
I just got started on Neo & tried to look for prior questions on this topic. I need help to rename one of the property keys.
I created the following node:
CREATE (Commerce:Category {title:' C...
8
Solved
I'm trying to list all of the properties for a set of nodes.
Match (n:"Indicator")
return properties(n), ID(n)
I'm unsure of the syntax and couldn't find the answer in the refcard or docs.
1
Intro
This what an existing query of mine looks like:
MATCH
(p:Person { id: $p_id })-[k1:`KNOWS`]->(person:Person)
WHERE (// some criteria)
MATCH
(person)-[work:`WORKED_AT`]->(company:Company...
4
I have my community 4.1.1 neo4j service installed on the ubuntu commandline running on my windows machine. I have been using neo4j steadily for a month or two now, just recently it has prevented me...
3
Solved
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 ...
4
Solved
I've got a property quantity on our Product-nodes and am looking to do a cypher query that gives me all nodes with quantity = 20 ... problem is that quantity is stored as a string in neo4j. Is ther...
5
Solved
In this cypher query,the longest path/paths between nodes which have relationship with STATUS="on" property with each other,will be returned,but I want to get also the last node of the path/paths.
...
Secunda asked 4/11, 2013 at 16:37
5
I'm able to make a query to a graph database like this
from neo4j import GraphDatabase
#establish connection
graphdp = GraphDatabase.driver(uri="bolt://localhost:7687", auth=("neo4j","Python"))
...
3
Solved
I'm trying to solve the simple question, if in a graph with the "knows" relationship, some person A knows some person B. Ideally I would answer this question with either true or false but I'm faili...
Subconscious asked 3/2, 2017 at 10:35
2
Solved
I want to translate a SQL query to cypher. Please, is there any solution to make GROUP BY in cypher?
SELECT dt.d_year,
item.i_brand_id brand_id,
item.i_brand brand,
Sum(ss_ext_discount_amt)...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.