Hi, I created an issue about programmatic access to an index managment api the other month because I have similar problems. I am on my phone at the moment so I can't remember the URL of the issue. But star it if you agree, it is named Index Managment API or something similar.
Regards Paul Kinlan On 31 Dec 2008, at 10:55, Elias Athanasopoulos <elias.athanasopou...@gmail.com > wrote: > > Hello! > > On Dec 31, 2:15 am, Marzia Niccolai <ma...@google.com> wrote: >> Hi Elias, >> >> You only need indexes for certain kinds of queries, such as those >> with >> inequality filters, or some ancestor queries. You can run other >> queries >> immediately after a kind is created. Composite index queries can be >> read up >> on >> here:http://code.google.com/appengine/docs/datastore/queriesandindexes.html >> Also, this article is very >> helpful:http://code.google.com/appengine/articles/index_building.html >> >> If you create a kind you believe will need a composite index, you >> might try >> to log the kind and query type, and periodically add those to your >> app.yaml. Please also be aware that there is currently a limit on >> 100 >> composite indexes per application. > > Yes, I understand, but the thing is that the query is exactly the same > for all dynamically created kinds. For example, it is in the fashion: > > query = "SELECT * FROM %s WHERE..." % user_table() > > The only thing that is changing is the kind name. Everything else is > the same. Is there anything I can do to tell App Engine to use the > index of an already indexed query or some similar hack? > > Regards, > Elias > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---