Google App Engine - INDEXES
log 에서 다음과 같은 에러가 발생한 것을 확인합니다.
The index for this query is not ready to serve.
/WEB-INF/appengine-generated/datastore-indexes-auto.xml 파일을 수정합니다.
1 2 3 4 5 6 7 8 9 10 11 | <!-- Indices written at Mon, 27 Oct 2014 13:16:54 KST --><datastore-indexes> <!-- Used 1 time in query history --> <datastore-index kind="TORRENT_LINK" ancestor="false" source="auto"> <property name="item" direction="asc"/> <property name="date" direction="desc"/> </datastore-index></datastore-indexes> |
수정한 후에 GAE에 배포를 합니다.
GAE 인덱스를 확인해 보면, Status 가 Building 으로 생긱는 것을 확인할 수 있습니다.
이후 Building 이 끝나면 Serving 으로 바뀌고, 정상적으로 쿼리를 할 수 있습니다.
'Programming > Google' 카테고리의 다른 글
| [GAE] memcache Undefined variable error - python (0) | 2016.07.01 |
|---|---|
| [GAE] Static 파일 설정 (0) | 2015.12.02 |
| [GAE] 파일 업로드 (0) | 2015.11.30 |
| [GAE] 포트 사용중인 프로세스 종료 (0) | 2015.11.30 |
| [Google App Engine] Maven 프로젝트로 생성하기 + 스프링 + Jackson (0) | 2014.12.25 |
댓글