Hey Tim, It is probably not very elegant, but I guess I have used a combination of 1 and 3. I put together scripts to request all combinations of the fields and let the SDK generate the indexes it wants. I have done this using windmill (like selenium) script to fill in and submit forms, which we do during test anyway. And, I have also done it with a script used for testing queries.
Robert On Wed, Oct 20, 2010 at 14:26, Tim Jones <[email protected]> wrote: > Any thoughts or recommendations for efficiently creating complex index.yaml > files? > > My app has a search page that uses six different filter criteria. I'd like to > make sure GAE is indexing all possible permutations. I've thought of only > three ways to do this: > > 1. Using the dev server, manually run all possible search permutations, so > that all the necessary indexes are auto-generated. > > 2. Manually write the index parameters into index.yaml > > 3. Write some kind of program to auto-generate the index.yaml parameters > based on the search parameters. > > #1 and #2 are prohibitively tedious. Has anyone tried #3? Does anyone have > other suggestions? It seems like a problem others must run into relatively > often. > > =T= > > > > ------------------ > Tim Jones > Activism & Technology Manager > Electronic Frontier Foundation > > -- > 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. > > -- 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.
