Questions tagged [redisgraph]

97 questions
1
vote
3 answers

How to prevent data duplication in redisgraph?

I wrote one code to store graph in redisgraph. Initially it is storing single graph but if I execute the same code second time then it is storing the same graph in database without replacing the previous graph.So, now I am getting two same graphs in…
1
vote
1 answer

How to get children of a node in redisgraph?

This is a directed unweighted graph I created this directed unweighted graph in redisgraph but at the time of traversing I am not able to fetch the children of A. Is there any command in redisgraph to get the children of A? Since the graph is fully…
1
vote
1 answer

Best practice to match nodes

I'm doing some tests on redisgraph and I'm wondering what is the best practice to match nodes if I have a hierarchy like this: category => post => comment => reply I have index on each label _id field and I match according to the _id First…
Rawhi
  • 6,155
  • 8
  • 36
  • 57
1
vote
1 answer

Number of databases per instance

Is there any limitation on the number of redisgraph databases that I can create in a single redis instance? GRAPH.QUERY database1 "Cypher" Is there any performance issues regarding a high number of these keys? Thanks
Rawhi
  • 6,155
  • 8
  • 36
  • 57
1
vote
1 answer

How to connect to RedisGraph using Java JRedisGraph client

The JRedisGraph documentation doesn't provide example on how to connect to the instance (IP, Port). https://github.com/RedisGraph/JRedisGraph Please help.
Vikram Rawat
  • 1,472
  • 11
  • 16
1
vote
1 answer

Node reuse, instead of creating new ones?

I'm trying to create (action)->(state) pair in such a way so that if : the action exists, use it, instead of creating new one the state exists, use it, instead of creating new one and do it in single query. The one I have creates new action node…
sten
  • 7,028
  • 9
  • 41
  • 63
1
vote
1 answer

Returning back the node name not the type/label?

if I have the following node : > graph.query graph1 'create (jim:node)' how do I query and get back the "jim"-value, not the 'node'-label
sten
  • 7,028
  • 9
  • 41
  • 63
1
vote
1 answer

Creating a node in a graph?

Trying to create a node via python, what I'm doing wrong : In [1]: import redis ...: from redisgraph import Node, Edge, Graph In [2]: r = redis.Redis(host='localhost', port=6379) In [3]: g = Graph('graph', 'r') In [4]: test3 =…
sten
  • 7,028
  • 9
  • 41
  • 63
1
vote
1 answer

Detect unnecessary explicit relation between nodes

I have group node structure where a node inherits permissions from previous node Manager ---Implies---> PowerUser ---Implies---> User But the structure is not clean and sometimes i have 2 edges from manager to poweruser and again to user which is…
progressdll
  • 374
  • 3
  • 12
1
vote
1 answer

How to create edges based on the equality check on vertex attributes in Cypher?

How to create edges based on the equality check on vertex attributes in Cypher? For example: lets say I have one object like this Employees {name: "abc, country: "NZ"} and lets say I have the following objects Manager { name: "abc", depatment:…
user1870400
  • 6,028
  • 13
  • 54
  • 115
1
vote
1 answer

Is it currently possible to do match intersection queries in redis-graph?

Is it currently possible to do a query in RedisGraph for match intersections given the current Cypher limitations? Eg something equivalent to the following Cypher script that would return countries that have been visited by both Mor Yesharim and…
user1458424
  • 391
  • 4
  • 7
1
vote
2 answers

How to store hierarchical data in redis graph and retrieve a sub tree out of it?

id | name | parent_id ab | file | de ad | song | de bc | Bob |ad mn | open.txt | bc
shrey som
  • 23
  • 6
1
vote
1 answer

How to find the top most hierarchy in redisgraph since NOT, IS keywords are not supported yet

How to find the top most hierarchy in redisgraph since NOT, IS keywords are not supported yet. In normal cypher query language we can do this as below. MATCH (n:Child) WHERE NOT (n)-[:PARENT]->() RETURN (n); But NOT keyword is not supported in…
Bhanu
  • 25
  • 9
1
vote
1 answer

Is it possible to use redisgraph with heroku?

I know that it is possible to use redis with Heroku. But what about redisgraph? Does it work as well? If yes, how? All the best. Jens
1
vote
1 answer

Search in all vertices by one specific field value

I would like to know if it's possible to search in all vertices by one specifig field value, without naming each vertex explicitly
Thomas Gotwig
  • 3,659
  • 3
  • 17
  • 15