neo4j/enterprise — Issue #2: Using existing relationship indexes in traversals/at core level by default when possible
Author: pablopareja
Created: 2011-10-13 14:04:43+00:00
State: open

Hi,

Since relationships are not fetched natively by their name yet _(It's somehow necessary to loop through all incoming/outgoing rels. in order to retrieve them)_ it'd be very useful (at least in my case) if traversals and standard methods such as getRelationships(....) would use relationship indexes internally when possible.
Otherwise, you cannot take advantage of the power of already implemented traversals
Besides, navigating through relationships which are indexed always requires a bunch of lines dealing with the index; not only that but also you cannot 'enforce' users not to use the standard methods for fetching relationships, which can take forever whenever you're dealing with supernodes.