Why am I getting this exception in GAE

I just tested and redistributed my application to a test instance, and it worked fine, then I changed the application identifier and redistributed it to my instance, and I had an indexing problem. How can I avoid this in the future? I did my best to check it out and it worked fine.

Uncaught exception from servlet
com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found..      <datastore-index kind="Article" ancestor="false" source="manual">
    <property name="tags" direction="asc"/>
    <property name="created" direction="asc"/>
</datastore-index>
at com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:40)
at com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:67)

The admin console says that this is the "Create" index. He said that already 20 minutes! How long will it take?

+3
source share
4 answers

, . Google, , Google , "", .

, , , "", , , .

-, , , , , , , .

+10

, . - :

  • 1:
  • 2:

, , 2 . , , 2 . , .

, 1 2 .

, ​​ "" "".

+5

- , , .. . java [ , python index.yaml ].

, Google https://appengine.google.com/. " "

, .

, datastore-indexes-auto-xml , "" .

, datastore-indexes-auto-xml.

appengine -auto-xml [ ].

,

  • , , . '& ;'.
  • " " appengine.google.com.
  • , -auto-xml. [ ]
  • ""!
  • "" !
  • , datastore-indexes-auto-xml [ eclipse]
  • .
  • .
  • Wait until you see the indexes enter image description here
  • Please tell Google to fix this.
  • It was informative, but did not work for me: enter the link here
  • It was also informative, but did not work for me: enter the link here
+2
source

Check the index.yaml file and make sure that the corresponding indexes are listed there, etc.

+1
source

Source: https://habr.com/ru/post/1755635/


All Articles