Hi John, Many thanks.
I will prepare large set of testing data and try to use Twig to model/ query them. Will get back to you soon. Best regards, Max On Mar 16, 2:14 pm, John Patterson <jdpatter...@gmail.com> wrote: > Thats right unfortunately. Like Jeff said, that is what a RDBMS is > probably doing anyway but it does locally and returns only results > over the wire back to you. > > But with Twigs parallel commands no matter how many queries you need > to run, they will not take extra time. You could query on 100 > criteria and join them in your app code for not a significant increase > in response time. > > John > > On 16 Mar 2010, at 13:08, Max wrote: > > > to query with n filters on one relation index entity > > *should be* > > to query with n filters on User with many UserSkill entity children > > > On Mar 16, 2:05 pm, Max <thebb...@gmail.com> wrote: > >> Hi John, > > >> Thanks for your reply. To be honest I am quite disappointed that GAE > >> can not perform such query directly. > > >> According do your suggestion, to query with n filters on one relation > >> index entity, we need to: > >> 1, perform n separate queries to obtain n cursors of UserSkill > >> entities by some sorting order > >> 2, use in-memory zig-zag method to obtain User keys match all query > >> 3, use a batch get to obtain all User entities > > >> Please correct me if my understanding is wrong. > > >> Best regards, > >> Max -- 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.