Permalink
Browse files

Moved index definitions above the AUTOGENERATED line.

This prevents dev_appserver from modifying the index file during standard
usage/testing, which prevents git from constantly reporting the file as
modified.
  • Loading branch information...
1 parent 988d344 commit b7af38e73b45e12b98f5ba4d58109e8c3cd41f55 @Arachnid Arachnid committed Nov 20, 2008
Showing with 10 additions and 17 deletions.
  1. +10 −17 index.yaml
View
27 index.yaml
@@ -1,57 +1,50 @@
indexes:
-# AUTOGENERATED
-
-# This index.yaml is automatically updated whenever the dev_appserver
-# detects that a new type of query is run. If you want to manage the
-# index.yaml file manually, remove the above marker line (the line
-# saying "# AUTOGENERATED"). If you want to manage some indexes
-# manually, move them above the marker line. The index.yaml file is
-# automatically uploaded to the admin console when you next deploy
-# your application using appcfg.py.
-
-# Used once in query history.
- kind: Article
properties:
- name: __searchable_text_index
- name: published
direction: desc
-# Used 17 times in query history.
- kind: Article
properties:
- name: article_type
- name: published
direction: desc
-# Used 23 times in query history.
- kind: Article
properties:
- name: article_type
- name: title
-# Unused in query history -- copied from input.
- kind: Article
properties:
- name: display_type
- name: published
direction: desc
-# Used 13 times in query history.
- kind: Article
properties:
- name: published
direction: desc
-# Used 7 times in query history.
- kind: Article
properties:
- name: tags
- name: published
direction: desc
-# Used 4 times in query history.
- kind: Comment
properties:
- name: article
- name: thread
+
+# AUTOGENERATED
+
+# This index.yaml is automatically updated whenever the dev_appserver
+# detects that a new type of query is run. If you want to manage the
+# index.yaml file manually, remove the above marker line (the line
+# saying "# AUTOGENERATED"). If you want to manage some indexes
+# manually, move them above the marker line. The index.yaml file is
+# automatically uploaded to the admin console when you next deploy
+# your application using appcfg.py.

0 comments on commit b7af38e

Please sign in to comment.