You fell into the trap of legacy (used with start) vs. schema indexes:

Use this for your query: MATCH (n:User {id:"1"}) RETURN n

The index will be automatically used.



On Sat, Apr 26, 2014 at 12:10 AM, Alx <[email protected]> wrote:

> I have indexed a node property User(id) by running the following command
> on neo4j shell: CREATE INDEX ON: User(id);
>
> However when I try to run "START n=node:User(id = "1") RETURN n" I get the
> error: Index `User` does not exist
>
> Any suggestions would be much appreciated.
>
> --
> 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