How to delete index on App Engine for Java

At the time of this writing there is no function to delete (unused) your datastore indexes directly with the Java tool set. But there is a way around: the python SDK has a function called vacuum_indexes. This is how your can do it, step by step:

  1. Install the Google App Engine for Python SDK and follow the steps described for your operating system here:
  2. After you installed python, and the GAE for Python SDK, setup a project in a tmp folder, that has the same name as your Java project with the tools from the SDK. Pay attention on capital letters. Your project must have EXACT the same name as the Java version
  3. [Optional] Deploy that to the app engine, but pay attention that you choose a version differently from all versions used by your java environment. You will be asked for your email and password
  4. On the command line execute vacuum_indexes pathToYourProject/
  5. Then you have to decide which index you want to delete. Be careful. Deleting the wrong index can render your app temporarily unusable…
Now a beer! Did you like this post? It often takes me several hours of my free time to write one. If I was your neighbour would you offer me a beer for the hard work I did for you? The beauty is: beers can be teletransported with a painless donation using Paypal. A beer in a Swiss bar costs about USD $4.80. Or use this affiliate link if you order something on Banggood and I'll get a small kickback. Thank you!
Related:  Oled 128x64 SSD1306 display & Arduino - How to get started