I'm doing an advanced search like the one detailed 
in https://cloud.google.com/appengine/articles/indexselection

I'm increasing the number of filters from 2 to 4, with 4 sort orders. If I 
create a perfect index on this search, I'll need 64 indexes in my 
index.yaml. I followed the advice in the Advanced Search article and 
created basic indexes for each filter and sort order resulting in 20 
indexes. I tested that these indexes satisfy my search by running my 
development server with dev_appserver.py --require_indexes

If I go back to my regular development workflow and run just the 
dev_appserver.py, accessing my search page creates the perfect indexes. I 
don't want to give up the ability to generate indexes for other aspects of 
development by always running with --require_indexes. I also don't want the 
dev server to create these extra indexes either. Is there a way to have the 
server only create new indexes if it would otherwise raise a NeedIndexError?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c8b84248-2515-4a7b-af27-4e5a63fb8789%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to