On Monday, June 3, 2013 12:59:59 AM UTC-5, 武萌 wrote: > > I have deployed some useless "Entity and Indexes" for testing. > Now I want to delete them. > How can I do that? >
Depends on the language for your app. If you have a Java application, you have a file marked datastore-indexes.xml in your /war/ directory. Open it up, and delete the XML lines that define your unwanted indexes. If you have a Python or Go app, the file will be called index.yaml and will have the same definitions in YAML format. Once you've deleted the unwanted index definitions, you need to vacuum the indexes (delete them on App Engine Production). Execute the appcfg command here: https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Deleting_Unused_Indexes (this operation may take some time, be patient). Remember to upload the edited copy of your app when you're done. To delete entities, you can go into the datastore viewer and delete them, or programmatically delete them through the API. ----------------- -Vinny P Technology & Media Advisor Chicago, IL My Go side project: http://invalidmail.com/ -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.