Creating indexes on existing entity properties

你说的曾经没有我的故事 提交于 2019-12-13 02:10:42

问题


When I started off with my project, I thought there was no need to create indexes on certain fields of entities but to generate certain daily reports, statistics we have a need to create indexes on some fields of existing entities.

As explained in the post Retroactive indexing in GAE Datastore, only way is to first change these properties from unindexed to indexed then retrieve and write all the entities again.

My question is if I take a back up from Datastore Admin and restore after changing the properties to indexed, will my project have all the required properties indexed? or do I need to retrieve and write through a program?

PS: My project is a java project on GAE


回答1:


Edit: Work around I mentioned earlier does not work. The only way to change the field is to re-upload the entities. Sorry.



来源:https://stackoverflow.com/questions/24857399/creating-indexes-on-existing-entity-properties

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!