Here is my tag search idea:-
If I have 4 tags Then I can save following strings combinations tag1,tag2,tag3,tag4, tag1,tag2,tag4, tag1,tag3,tag4, tag1,tag4 tag2,tag3,tag4, tag2,tag4, tag3,tag4, tag4, class TagLine{ @PrimaryKey @Persistent Long id; @Key @Persistent String tags; @Persistent Long objectId; } If I have search "tag list" then I will "implode" tag list in a string with comma as delimiter. and search for tags (in TagLine) starting with that string If I will have many tags that I will have to insert many TagLine objects. I estimate 2^(n-1) for n tags So it is expensive feature and it is most efficient solution I have found so far. Sample search [tag3, tag2] Sort: [tag2, tag3] Implode into string "tag2,tag3," Object with this tags will have TagLine(s) starting with "tag2,tag3," In my sample data it is:- "tag2,tag3,tag4," -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.