Gae for Java exception: no matching index found.

Source: Internet
Author: User


The Gae for Java version is not yet perfect. At least appcfg has not yet deleted the commands for creating indexes. I checked the email list. As early as last year, someone asked "How to delete the index created by Gae ".

This problem still exists. The privilege is to use the appcfg vacuum_indexes command of the python SDK to delete it.

 

 

Steps:

To remove your indexes from your Java app using the python SDK

1) download the python SDK (download Python SDK)
2) In your Java project create a app. yaml file with the following
CONTENTS (create the app. yaml file in the root directory of the project. The content is as follows)

Application: yourjava_appid (changed to your application ID)
Version: 1
Runtime: Python
Api_version: 1

Handlers:
-URL :.*
Script: Main. py

3) from within your Java app directory run (assuming appcfg. py is in
Your path) (execute the following command in the application root directory)
Appcfg. py vacuum_indexes.

4) follow the prompts to remove each index. (delete the index as prompted)

5) Delete the app. yaml file (delete app. yaml)

6) star the issue here http://code.google.com/p/googleappengine/issues/detail? Id = 1893 (pay attention to this issue in the Gae Development Project)

In this way, the problem is basically solved. We hope that gae for Java can fix this issue as soon as possible.

This article uses b3log solo for simultaneous release from the simplified design workshop.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.