2011-11-25 59 views
0

最近我的部署bloog AppEngine上一個基於Python的webblog,但得到這個錯誤的AppEngine錯誤400,同時部署bloog

Uploading index definitions. 
Error 400: --- begin server output --- 
Creating a composite index failed: This index: 
entity_type: "Article" 
ancestor: false 
Property { 
    name: "published" 
    direction: 2 
} 

index.yaml中的含量

indexes: 

- kind: Article 
    properties: 
    - name: __searchable_text_index 
    - name: published 
    direction: desc 

- kind: Article 
    properties: 
    - name: article_type 
    - name: published 
    direction: desc 

- kind: Article 
    properties: 
    - name: article_type 
    - name: title 

- kind: Article 
    properties: 
    - name: display_type 
    - name: published 
    direction: desc 

- kind: Article 
    properties: 
    - name: published 
    direction: desc 

- kind: Article 
    properties: 
    - name: tags 
    - name: published 
    direction: desc 

- kind: Comment 
    properties: 
    - name: article 
    - name: thread 

# AUTOGENERATED 

所以它不能更新index.yaml文件,因此它給主站點500錯誤,我如何解決它?

回答

0

從index.yaml刪除該索引 - 以及任何其他單個屬性索引。它們完全沒有必要,因爲單個屬性已經被數據存儲索引。

相關問題