Added all indexes required for GHOP specific queries.
Reviewed by: Lennard de Rijk
--- a/app/index.yaml Thu Sep 17 12:40:56 2009 +0530
+++ b/app/index.yaml Thu Sep 17 12:43:30 2009 +0530
@@ -71,6 +71,64 @@
- name: grading_survey_group
- name: __key__
+# used to order GHOPComments under a GHOPTask with that GHOPTask being
+# its ancestor entity in the entity group.
+- kind: GHOPComment
+ ancestor: yes
+ properties:
+ - name: created_on
+
+# used to order GHOPWorkSubmissions under a GHOPTask with that GHOPTask being
+# its ancestor entity in the entity group.
+- kind: GHOPWorkSubmission
+ ancestor: yes
+ properties:
+ - name: submitted_on
+
+# used to fetch Task Difficulty levels for a given GHOP Program in the
+# specified order of tags.
+- kind: TaskDifficultyTag
+ properties:
+ - name: scope
+ - name: order
+ direction: desc
+
+# used to fetch Task Difficulty levels for a given GHOP Program in the
+# specified order of tags which is used to create a new tag. When creating
+# a TaskDifficultyTag we need to determine the highest order'ed Tag and then
+# assign an order of one greater than the highest order'ed tag to the newly
+# created tag.
+- kind: TaskDifficultyTag
+ properties:
+ - name: scope
+ - name: order
+
+# used to fetch Task Type tags for a given GHOP Program in the
+# specified order of tags.
+- kind: TaskTypeTag
+ properties:
+ - name: scope
+ - name: order
+ direction: desc
+
+# used to fetch Task Type tags for a given GHOP Program in the
+# specified order of tags which is used to create a new tag. When creating
+# a TaskTypeTag we need to determine the highest order'ed Tag and then
+# assign an order of one greater than the highest order'ed tag to the newly
+# created tag.
+- kind: TaskTypeTag
+ properties:
+ - name: scope
+ - name: order
+
+# used to fetch arbitrary tags for a given GHOP Program in the
+# specified order of tags.
+- kind: TaskArbitraryTag
+ properties:
+ - name: scope
+ - name: order
+ direction: desc
+
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver