Hi guys,
we have a cypher query looking like this, this query is executed within
millis everythings's fine:
START
spat=node:GEO_INDEX('withinDistance:[47.481606,7.7395731,50.0]'),user=node( 19912)
MATCH
offer<-[rr?:REVIEW]-review,spat-[r1:MANUAL_SPATIAL_CONNECT]->loc-[r2:GEOFIE S]->offer,user-[rbm:BOOKMARKED]->bookmark
return spat
As soon as we extend the query with one more relationship the query will
take about 7 seconds...:
START
spat=node:GEO_INDEX('withinDistance:[47.481606,7.7395731,50.0]'),user=node( 19912)
MATCH
offer<-[rr?:REVIEW]-review,spat-[r1:MANUAL_SPATIAL_CONNECT]->loc-[r2:GEOFIE S]->offer,user-[rbm:BOOKMARKED]->bookmark-[rbmc:CATEGORY_LINK]->category
return spat
Theres nothing strange about the CATEGORY_LINK relation and the category
itself is a simple domain structure. How can we find out what's exactly
lacking there? Running the two match queries separetely performs 100% fine
so what could cause this slow down?
Thanx in advance, Florian;