Groups
Groups
Sign in
Groups
Groups
Neo4j
Conversations
About
Send feedback
Help
optimize match queries
6 views
Skip to first unread message
Yaron Naveh
unread,
Jul 27, 2012, 4:21:08 PM
7/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Hi
using indexes I got many of my qureis to work pretty fast.
but queries that contain matches are still slower, e.g. MATCH (n)<-[depends_on*0..7]-(x)<-[:likes]-(u)
is there any concept similar to indexes to improve performance here?
Thanks,
Yaron
Michael Hunger
unread,
Jul 28, 2012, 4:57:38 PM
7/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
This is not just any ordinary match but a variable length relationship which will touch exponentially more nodes with every step (n^7)
so perhaps you re-visit your use-case (when you really need that many hops out?)
Michael
Reply all
Reply to author
Forward
0 new messages