This is a follow-up question to Drew Sears' answer to this discussion:
http://stackoverflow.com/questions/3314721/app-engine-datastore-data-model-question
If I model bucket as a reference property in the object kind and say I want to query for objects in bucket 1234 with size > 1000. My query will look like "where bucket = key('Bucket', 1234) and size > 1000".
I'm assuming that this will require a custom index on the bucket and size properties. Is that assumption wrong? If not, is Model #2 in the original question (dynamic kinds) the only way to make it work with automatic indexes? I hope there's another way.
Thanks, Keyur