2017-03-27 1 views
0

AppEngine에서 실행중인 응용 프로그램이 있으며 이전에 약 10M 개 개체가있는 현재 "회사"종류 중 하나에서 구성된 색인을 사용하고있었습니다. 다른 질문에서 보았 듯이 index.yaml에서 인덱스를 제거하고 appcfg.py을 사용하여 인덱스 목록을 업데이트합니다. enter image description hereGoogle Datastore : 사용하지 않는 색인을 삭제하는 중 오류가 발생했습니다.

그리고 내 index.yaml은 다음과 같습니다 :

현재 내 인덱스는 다음과 같이

indexes: 
- kind: Company 
    properties: 
    - name: dissolved 
    - name: dissolution_date 

을하지만

[email protected]:~/webapp$ appcfg.py vacuum_indexes . 
12:32 PM Host: appengine.google.com 
12:32 PM Fetching index definitions diff. 
Error 400: --- begin server output --- 


Client Error (400) 

The request is invalid for an unspecified reason. 
--- end server output --- 

을 실행할 때 오류가 있습니까 내 접근? 또는이 방법은 사용되지 않으며 gcloud 명령을 사용해야합니다.

감사합니다.

답변

1

더 이상 appcfg를 사용하지 마십시오. 사용해보기 gcloud datastore cleanup-indexes index.yaml

관련 문제