Narayanababu
Narayanababu

Reputation: 145

Creating indexes on existing entity properties

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

Upvotes: 1

Views: 632

Answers (1)

Isaac
Isaac

Reputation: 788

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

Upvotes: 1

Related Questions