can anyone tell me how to do indexing in gql
+2
A:
Yes Google can, http://code.google.com/appengine/docs/python/config/indexconfig.html.
Alternatively there are books on the matter http://www.amazon.co.uk/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=google+app+engine&x=0&y=0
The best way is to create your code and let the default automatic index creation take care of it.
Indexes are automatically created for ascending/descending order on each property (except for long strings and blobs) so you do not need to make these.
Due to the inherent sort ordering in Google App Engine there are many permutations (some of them impossible to do without restructuring the data models) so we would need to see your example models to help.
Metalshark
2010-07-12 08:27:53