I was trying to do an inequality query on the Keys of an entity on the development server and received the following error:
SEVERE: QUERY ERROR: com.google.appengine.api.datastore.DatastoreNeedIndexException: Query com.google.appengine.api.datastore.dev.LocalCompositeIndexManager $indexcomponentsonlyqu...@203ede49 requires the following index: <datastore-index kind="NewsStoryServer" ancestor="false" source="manual"> <property name="categories" direction="asc"/> <property name="__key__" direction="asc"/> </datastore-index> The App Engine docs specify that inequality filters on keys and equality filters on other properties are supported by a default index (http://code.google.com/appengine/docs/java/datastore/ queriesandindexes.html#Defining_Indexes_With_Configuration) and it does work when I run in on AppEngine so it seems to be a Development server problem. Anyone else encounter this problem? James -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.