Why does adding this to my index.yaml fail to build an index?
- kind: FooBar
ancestor: yes
properties:
- name: __key__
direction: desc
That should be a simple enough index, yes? What's the problem?
Banging my head against this problem for the last few hours has really
soured me on the whole Index Error problem. It is opaque. The
appengine.google.com console just says "Error" with no note about what
went wrong. I did the `update_indexes; vacuum_indexes; update_indexes`
dance just to wind up with the same opaque error message and no index
and queries that fail. This doesn't happen on dev_appserver. This
doesn't happen on a separate copy of the app at a
different .appspot.com instance than our production copy. The index is
fine there. This is exactly the index specification that the error
message says I need when I do the query I want to do, and on
${myapp}dev.appspot.com it works fine, but ${myapp}.appspot.com is
broken.
The apparently standard article on this subject hasn't helped me
either, as I did the part about what to do if I have an Error, and I
still have an Error and no visibility into it.
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes
Please please please give some visibility into this problem.
--
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.