Hesham, I would probably try to have a "Tag-Event" node, that pulls together the
user-[:tagged]->tagEvent-[:target]->article tagEvent-[:tag]->tag1 tagEvent-[:tag]->tag2 tagEvent.review = "My review of this tagging" WDYT? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Oct 14, 2011 at 10:07 PM, Hesham <[email protected]> wrote: > Continuing my exploration of Neo4j, I have this theoretical example. > > A user can create articles, and the articles can be tagged with a number of > keywords. > > In a RDB, I would create a separate table for tags and this will allow me > to: > > 1- have the tags associated with one of more article. > 2- get all articles that are tagged with a specific keyword > 3- generate a user level, and app level tag cloud > > > Now in Neo4j, I'm assuming the articles would be nodes and the keywords > would each be separate nodes related to the the article node. Correct? > > Would this design allow me to do the three things listed above? > > Should I index the tags or the relationship in this case? > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Articles-Tags-Beginner-Question-tp3422705p3422705.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

