Yes

Sent from mobile device

Am 20.06.2014 um 22:41 schrieb brian <[email protected]>:

> I think I discovered the answer to this by experimentation, but I just want 
> confirm.  In a MATCH query, do I need to specify the label in order for the 
> label's index to be used?  For example, in the following query:
> 
> MATCH (n) WHERE n.myIndexedProp = 1
> 
> I had assumed that Cypher would guess the correct index because there's an 
> indexed property in the WHERE clause.  However, it looks like I need to do:
> 
> 
> MATCH (n:MyLabel) WHERE n.myIndexedProp = 1
> 
> so that Cypher knows to use MyLabel's index.
> 
> Is that correct?
> 
> -brian
> 
> -- 
> 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