I think the composite properties like hashmap is very important. Json format data is very important and general data format, for example, now i have a json data or an php array data,they are both nested,but i want to import them into neo4j,but I found it's difficult,even important,the essential reason is neo4j can't support comosite properties,so i have to give up neo4j.
在 2012年5月9日星期三UTC+8下午2时32分38秒,Peter Neubauer写道: > > Ashish, > This has been a very early decision to force explicit data structures with > the least amount of surprises when dealing with it. That said, there are > plans for the introduction of more property types, among them date and > nested maps (documents). We are not sure yet if it makes sense to treat > them as a property type or internally actually decompose them into > subgraphs and only expose unified api to that. > > Wdyt? > > Send from mobile. > On May 9, 2012 8:11 AM, "Ashish Dalela" <[email protected] <javascript:>> > wrote: > >> Folks, >> >> I'm new to neo4j and need help. I read the documentation and found the >> following which is a problem for me - "Nesting properties is not >> supported". My question is - do we have a plan to reverse this >> limitation? >> >> My data objects are composite. E.g. A device comprises of cards, and >> cards comprise of ports which contain virtual ports, each of which can >> have multiple tiers of configurations. To represent this in neo4j with >> the above limitation, I have to break this down into individual nodes >> and connect them through "contains" relationships. Then, my XPath >> expressions such as /device/card/port/virtualport/attrlevel1/ >> attrlevel2 will have to span across multiple nodes. >> >> XML databases allow us to represent such complex objects easily, but >> they have no relations. Graph databases have relations but the objects >> are forced to be primitive. Can this either / or situation be >> corrected? >> >> Thanks much for your time. >> >> -Ashish >> >> -- 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.
