Hi Nicola, it could be that the database was created with Neo4j 2.0-M06 and there were changes in RC1 in terms of the label indexes.
Thanks for the heads up, I'll have a look and update it to 2.0.1 Michael Am 04.03.2014 um 16:52 schrieb Nicola Sampietri <[email protected]>: > Hi, > i downloaded the MusicBrainz database from > http://example-data.neo4j.org/files/musicbrainz_neo_20.tar.bz2. > I'm using this neo4j database for a "Big Data" demo. I have some problem with > this simple cypher query : > > MATCH (n:Area) return n; > > The result is : > > +---+ > | n | > +---+ > +---+ > 0 row > 1016 ms > > Instead what i expected is to obtain the entire list of all node labelled > like "Area". If i use the same query adding a WHERE condition i obtain the > expected result: > > MATCH (n:Area) where n.name="United States" return n,labels(n); > > +--------------------------------------------------------------------------------------------------------------------------+ > | n > | labels(n) | > +--------------------------------------------------------------------------------------------------------------------------+ > | > Node[221]{position:"0",mbid:"489ce91b-6658-3307-9877-795b68554c98",name:"United > States",length:"0"} | ["Area","Country"] | > +--------------------------------------------------------------------------------------------------------------------------+ > 1 row > 75 ms > > Anyone have an idea of why this happens ? > Regards, > Sampietri Nicola > > > -- > 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.
