That is referring only to the transient 'NeedIndex' error that popped up sometimes when a query was executed using zigzag in production: "NeedIndexError: The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query."
This will no longer ever be thrown. On Wed, Nov 16, 2011 at 4:54 AM, Mos <mosa...@googlemail.com> wrote: > Hello Alfred, > > thanks for clarification! > > I will report the issue below if it happens again. > > My confusion started when reading the presentation: > > > http://whiteship.me/wp-content/uploads/2011/11/getting_the_most_out_of_spring_and_app_engine_springone_2011.pdf > > On page 51, regarding the "advanced query planner" you can read "No more > 'needs index' errors (although some may timeout)". > > I thought and hoped no more need for managing indexes manually ...... > > Cheers > Mos > > > > On Tue, Nov 15, 2011 at 6:46 PM, Alfred Fuller < > arfuller+appeng...@google.com> wrote: > >> >> >> On Wed, Nov 9, 2011 at 1:42 AM, Mos <mosa...@googlemail.com> wrote: >> >>> Does the improved query planner reduce the need of managing indexes >>> manually in the datastore-index.xml file? >>> >> >> It increases the need to manage indexes manually >> >> >>> >>> I'm a bit confused. >>> The documentation is not obvious for me. >>> >>> In local development mode I set autoGenerate="false" and delete the >>> datastore-index-auto.xml. >>> My application runs fine. >>> >>> Deploying on GAE I've got the annoying >>> >>> com.google.appengine.api.datastore.DatastoreNeedIndexException: no >>> matching index found. >>> >>> exception. >>> >>> >> This should not happen >> >> >>> Hence, how does the improved query planner change the workflow of a GAE >>> developer? >>> >> >> Basically you have to turn off auto generate and manage the indexes >> manually. >> >> >>> >>> Cheers >>> Mos >>> >>> -- >>> 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-java@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. >>> >> >> -- >> 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-java@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. >> > > -- > 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-java@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. > -- 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-java@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.