Skip to content

Commit

Permalink
Moved index definitions above the AUTOGENERATED line.
Browse files Browse the repository at this point in the history
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
Arachnid committed Nov 20, 2008
1 parent 988d344 commit b7af38e
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions index.yaml
Original file line number Diff line number Diff line change
@@ -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.