How to delete index on App Engine for Java

ESP32 Development Board WiFi+Bluetooth Ultra-Low Power Consumption Dual Cores ESP-32 ESP-32S Board
Integrated antenna and RF balun, power amplifier, low-noise amplifiers, filters, and power management module. The entire solution takes up the least amount of printed circuit board area. This board is used with 2.4 GHz dual-mode Wi-Fi and Bluetooth chips by TSMC 40nm low power technology, power and RF properties best, which is safe, reliable, and scalable to a variety of applications.

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: http://code.google.com/appengine/docs/python/gettingstarted/devenvironment.html
  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 appcfg.py 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…
Posted by squix78

Leave a Reply