Closed johnsmith765 closed 4 months ago
Hi @johnsmith765,
I wouldn't say this is a bug because if the relationship shows tweet -> user
, it means we calculate internally from tweet
with a backward adjacency list that points to user
. It doesn't not imply the relationship is from tweet
to user
.
On the other hand, I do realize this could be confusing and inconsistent with Neo4j behaviour. We have a similar issue (#3166 ) posted by our other users. I'll fix this issue and keep u updated.
Apparently I was wrong, the relationship was indeed returned in the wrong direction. This is now fixed in #3765.
Sorry for the confusion.
I have twitter related data in my database which includes
Tweets
,Users
,Hashtags
etc , and I have relations that includePosts
(User Posting a tweet),Mentions
(Tweet mentioning a user),Tags
(Tweet tagging a hashtag). Here are the relation tablesWhen I run a query without path, I get correct results, for example
This gives my correct direction of edges, But when I try to find a shortest path between two users using the following query,
I get incorrect/opposite direction of edges, for example, Tweet posting a User, User mentioning a Tweet, But no rel table with such directions exists I am using Node.js library to query. Not sure if it is a bug or I am doing it wrong. Need some help. Best regards