The USING INDEX is for specifying which index(es) you want to use, when there is more than one choice. You can specify more than one, but you have to have a WHERE clause with an equality comparison on a property in the label index.
There is also a USING SCAN :Person syntax, which specifies to scan that label only. It is not required for your query, however, since it will already scan just the :Person label. But, if you have more than one choice of labels to scan, you can specify which one is the best to start from (often this is the lowest cardinality label, in my experience). Wes On Mon, Jan 20, 2014 at 5:15 AM, Sylvain Roussy <[email protected]> wrote: > Hi Michael, thank you for the answer, >> > > But what is the USING INDEX clause use case then ? > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
