java - Permission denied for creating a search index GAE Geoespacial Query -
i have include geoespacial query check if geopt inside circle , have created index it. when try deploy gae, i'm getting following error:
creating index failed entity_type: "myentity" ancestor: falseproperty { name: "name"}property { name: "location" mode: 3}: permission denied creating search index
this code i'm executing
geopt center = new geopt((float) platitude, (float) plongitude); double radius = pdistancekm*1000; query.filter f = new stcontainsfilter("location", new circle(center, radius)); items = ofy().load().type(myentity.class).filter(f).filter("name", tmpname).list();
i have created index according documentation:
this index:
<datastore-index kind="myentity" source="manual"> <property name="name" /> <property name="location" mode="geospatial"/> </datastore-index>
does have idea of permission?
using java , android studio.
ps: when try execute code, logging in gae suggest me index identical index
com.google.api.server.spi.systemservice invokeservicemethod: exception occurred while calling backend method com.google.appengine.api.datastore.datastoreneedindexexception: no matching index found. suggested index query is: <datastore-index kind="myentity" source="manual"> <property name="name" /> <property name="location" mode="geospatial"/> </datastore-index>
geospatial search datastore alpha release has reached capacity now. looking @ error, looks aren't part of alpha program.
stay tuned beta open everyone!
Comments
Post a Comment