Hi Corneliu, If you don't add a sort order, you can use Merge Join queries - any query on multiple properties that uses only equality filters can be executed as a merge join, and thus doesn't require a custom index. Alternately, you can define a single ListProperty that you put 'name:value' tuples in, and index only that (eg, for a given message it might contain ['from:me' ,'to:you', 'hello', 'world']. You will still run into 'exploding indexes' if you try to index that property multiple times, however.
-Nick Johnson On Tue, Sep 22, 2009 at 8:09 AM, Corneliu Paul Lupulet < [email protected]> wrote: > Hello again! :) > > I was also curious if this assumption of mine is correct: > > " Since queries require indexes in order to work, and the user can > choose any combination of the above, that would mean a total of: C > (6,0) + C(6,1) + C(6,2) + C(6,3) + ... + C(6,6) = 2^6 = 64 indexes > needed to assure complete functionality (actually 63, because C(6,0) > is not required) " > > Can you tell me if there is any better way to implement this? > > On Mon, Sep 21, 2009 at 11:43 PM, ryan > <[email protected]<ryanb%[email protected]> > > wrote: > >> >> hi cornel! >> >> On Sep 21, 12:58 pm, Cornel <[email protected]> wrote: >> > >> > I have a curiosity. From what i understand Gmail is implemented on the >> > same infrastructure that app-engine now offers to developers. >> >> this is true, but at a much lower level than you've interpreted it. >> gmail uses GFS, Chubby, and other internal shared infrastructure for >> cluster management, monitoring, etc. app engine uses all of those too, >> which is what we meant by "implemented on the same infrastructure." >> the app engine datastore is specific to app engine, though, and gmail >> doesn't currently run on app engine, so it doesn't use the datastore. >> >> >> > > > -- > Corneliu Paul Lupulet > > > > > > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
