GAE INDEX
log 에서 다음과 같은 에러가 발생한 것을 확인합니다.
The index for this query is not ready to serve.
/WEB-INF/appengine-generated/datastore-indexes-auto.xml
파일을 수정합니다.
- snippet.xml
<!-- 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 으로 바뀌고, 정상적으로 쿼리를 할 수 있습니다.