Since you only have a few hundred items, the easiest approach may be
to filter the results in memory after performing a preliminary
datastore query.  I would store the tag names in a StringListProperty
() on your model.

Hope this helps,
Chris

On Jan 23, 5:17 pm, George Sudarkoff <sudark...@gmail.com> wrote:
> I have a bit of a problem coming up with an efficient data model/algo
> for a project I am working on:
>
> I have a few hundred items, each tagged with zero or more tags. I need
> to be able to fetch items that, for example, are tagged with tag1 AND
> (tag2 OR tag3) AND NOT tag4.
>
> Any help would be greatly appreciated!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to