Questions tagged [redisgraph]

97 questions
1
vote
1 answer

How to order an array property by any of its properties in Redisgraph?

I'm using Redisgraph. I have two node types, Driver and Race, with a relationship from Driver to Race called racedAt. I know that if I query: MATCH (r:Race)<-[p:racedAt]-(d:Driver) RETURN r,p This returns me the same race n times, where n is the…
1
vote
2 answers

Can Redisgraph return numbers and booleans instead of their string representation?

I'm working with Redisgraph. I have a node Person with three properties: name (string), age (number), isAlive (boolean). If I store the age as number, without the quotes, it correctly store it as a number. So, if I query: MATCH (p:Person) RETURN…
1
vote
1 answer

How to remove an element from an array in redisgraph

How to remove an element from an array in redisgraph Consider the below data in the redisgraph database. graph.query Test "MATCH (u:Person) Create (:Person {address:['something1', 'something2']})" I need to remove something1 from the address…
Bhanu
  • 25
  • 9
1
vote
1 answer

How to synchronise data from different modules Redis

I am new to redis and I wanted to know if there was a way to synchronise my data from my redisJson and my redisGraph For example, I have a user un a hash or a redisJson and I have this same user in my redisGraph How do I synchronise this user…
1
vote
2 answers

How to install redisGraph on mac with my existiing redis database

I have been trying for 2 days to install redisGraph on mac WITH my existing redis database, it can be done with redis cloud but i want to have it locally ( and free ). I go redis working, but i don't understand, and can't find how to install modules…
1
vote
1 answer

Is it possible to achieve this type of filtering with Cypher

I have a DSL to query RedisGraph which looks like this: App::Graph.query(movie: { title: 'Matrix' }, country: { value: 'Italy' , value: 'Spain', value: 'Greece' }) Which produces this cypher query: MATCH (m:Movie)<-[:ACTED_IN]-(a:Actor) WHERE…
lukasm
  • 11
  • 1
1
vote
1 answer

Export/import/backup RedisGraph database

I've got a little too far with RedisGraph and now it's about to ship in production. Therefore I need to export and import some data between servers and also to create backups. I'm using the open source community version (not the Redis…
vinyll
  • 11,017
  • 2
  • 48
  • 37
1
vote
1 answer

Architecture and querying in RedisGraph

I'm new to graphs, RedisGraph and Cypher and this took me a few hours without solving. I have users paying other users. A payment can be deposited from a user. Some other user can eventually withdraw that deposit, but a deposit can also never be…
vinyll
  • 11,017
  • 2
  • 48
  • 37
1
vote
1 answer

redisgraph-bulk-loader returns with IndexError

I am trying to use the redisgraph-bulk-loader to load the dataset into the RedisGraph instance running in a docker container. However, it returns with IndexError: list index out of range which I do not understand. I have read the documentation and…
Raj
  • 85
  • 8
1
vote
1 answer

cypher query with subpath and exists in redisgraph

I'm evaluating RedisGraph and I'm trying to replicate a result I have in Neo4j. Graph and query are from my other question, I'm trying to achieve the same result: the path f1 <- (friend) m2 <- (sibling) b3 <- (coworker) d4 (and none of the p*…
watery
  • 5,026
  • 9
  • 52
  • 92
1
vote
1 answer

Redisgraph create index command timed out

Command is timing out when creating an index. When I try to create an index on facilityNumber GRAPH.QUERY GRAPH_NAME "CREATE INDEX ON :node(facilityNumber)" I'm getting a timed out exception CLI ERROR: Command timed out. Blocking commands are…
gdgd777
  • 21
  • 3
1
vote
1 answer

redisgraph create edge between nodes if not exist already in high traffic

I have the following cypher query. MATCH (a:ACTOR {id: 'Charlie'}) MATCH (m:MOVIE {id: 'TwoAndAHalfMen'}) OPTIONAL MATCH (a)-[e:ACTED {prop1: val1}]->(m) WITH COUNT(e) AS c, a, m WHERE c=0 CREATE (a)-[:ACTED {prop1: val1, prop2: ''…
Sankar
  • 6,192
  • 12
  • 65
  • 89
1
vote
1 answer

The interoperability between redis-graph and redis-streams

I'm interested in the project and wanna understand more about the internals of RedisGraph, and looks for the feasibility of the interoperability between Redis-Streams and Redis-Graph modules. Thus, I'm wondering on what native data structures of…
1
vote
1 answer

How to query supplementary relationship in graph?

I have a graph database where every node is having a relationship intersects with the nodes that it intersects. Additionally, the intersects has a property degrees (angle at which the intersection of these two nodes happen). I want to order the…
psr
  • 2,619
  • 4
  • 32
  • 57
1
vote
3 answers

Cypher query to recursively traverse family tree?

Querying a graph database with Cypher, I'm trying to walk an indefinite distance up a tree from a starting node, and return each node with information about that node's relationships. For example, take a family tree: I'd like to start at "James"…
nicholas
  • 14,184
  • 22
  • 82
  • 138