Hello,
our application recently started producing exceptions like:
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found.. <datastore-index kind="SketchCommandStore"
ancestor="false" source="manual">
<property name="sketchId" direction="asc"/>
<property name="orderId" direction="asc"/>
</datastore-index>
or
Server error 1:
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found.. <datastore-index
kind="SketchCommentThread" ancestor="true" source="manual">
<property name="lastUpdateTimestamp" direction="desc"/>
</datastore-index>
for different tables in the data store. Our app doesn't use explicit
index configuration / don't have datastore-indexes.xml .
On the local development server the auto generated xml for these two
tables looks like:
<!-- Indices written at Sun, 13 Dec 2009 23:01:11 UTC -->
<datastore-indexes>
<!-- Used 1 time in query history -->
<datastore-index kind="SketchCommentThread" ancestor="true"
source="auto">
<property name="lastUpdateTimestamp" direction="desc"/>
</datastore-index>
<!-- Used 2 times in query history -->
<datastore-index kind="SketchCommandStore" ancestor="false"
source="auto">
<property name="sketchId" direction="asc"/>
<property name="epochDate" direction="desc"/>
</datastore-index>
</datastore-indexes>
I wonder if anybody faced similar issues / can shed some light on how
to deal with that?
Thank you,
Dmitry
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.