I'd keep an Entity with counts and also store each Tag inside a List property. To visualize it, I'd use this library:
http://code.google.com/p/word-cumulus-goog-vis/wiki/UserGuide On Sat, Jul 17, 2010 at 4:29 AM, planetjones <[email protected]> wrote: > Hi, > > I'm looking to store entities using GAE Java which have 1-many tags. I > would like to display a tag cloud, so will need to know how many times > each tag occurs (can't use aggregate functions and group by on GAE to > do this like I would in SQL). And when I click a tag I would like to > retrieve all entities with the selected tag. > > Does anyone have any examples of what my Classes should look like to > do this optimally and efficiently? Sample JPA code would be great too. > > Cheers - Jonathan > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
