If you created the index after you loaded the nodes then I don't believe they are indexed. You would either have to reload or use the java API to manually add the nodes to the index.
You can confirm this by running a profile (add the keyword profile to the beginning of your query) and sharing the results. Sent from my iPhone > On Mar 11, 2016, at 19:24, Hugo Labra <hugo.labr...@gmail.com> wrote: > > Hi, > > I tried to create the index with the CREATE INDEX ON :Node(name) > Cypher command, but it does not make any difference on the time of the query > I have a graph with about 70 million edges and 4 million nodes, the creation > of > the index is instantaneous, but the query times are the same before and after > :( > > I am doing the following queries, they return the result but they don't > improve with the index > > MATCH (n:Node{ name: 'v14' }) > RETURN n > > and > > MATCH (n:Node) > WHERE n.name = 'v14' > RETURN n > > Thanks in advance for your help > Hugo > > >> On Friday, March 11, 2016 at 2:26:34 PM UTC-6, Hugo Labra wrote: >> Hello, >> >> I am trying to create an index but I have not been able to get results back >> when I query it. >> >> Hugo > > -- > 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.