Sent from mobile device

Am 15.08.2014 um 23:03 schrieb Alex winter <[email protected]>:

> Hi all.
> I created a graph: for example. there are many nodes with relationship :were 
> born in, and other relationships like: know, dead in,..... So I have some 
> questions related to relationship index.
> 1. When I imported data, i didn't put the setting auto relationship index to 
> true. So now how I can update relationship index? I know that changing the 
> config file is not enough to trigger new index. What I need to do besides 
> changing the setting in config file to have relationship index?

You have to re-set the property values
> 
> 2. For auto relationship index, do I need to set property of relationship to 
> index? For example, in my case, my relationship "were born in" doesn't have 
> any property. so is it possible to have relationship index in my case?
> 

Rel-index only help you when looking up relationships for nothing else

> 3. Could you show the link or describe how about the relationship index? 
> Because I found that, the query is very slow in the case I want to find every 
> nodes have relationship "were born in". I tried this query and I guess that 
> neo4j need to scan every node and check the relationship is "were born in" or 
> not. So if I have relationship index , is it better? How is the best way for 
> the query like this?

Perhaps you should explain your model and your queries in detail?
> 
> 4. What you mean when you put relationship index in legacy index?

The relationship index IS a legacy index

> will it be replaced by another index like label index for node?
> 
No


> Thanks in advance.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to