`
alloyer
  • 浏览: 32342 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching 解决方案

阅读更多
Google App Engine查询时出现异常:
com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found..

解决方案:在项目的war/WEB-INF/目录中手动创建datastore-indexes.xml文件,在其中进行手动的索引配置,通常只要将以上异常中自动生成的提示索引拷贝到该文件中,然后重新部署项目即可。
索引的生效时间会稍微慢一些,可能需要几分钟时间。一个正常工作的索引的状态应该为Serving,见附件图示。

索引配置详见:
http://code.google.com/intl/zh-CN/appengine/docs/java/config/indexconfig.html
http://code.google.com/intl/zh-CN/appengine/docs/python/config/indexconfig.html
  • 大小: 7.4 KB
分享到:
评论

相关推荐

    Programming.Google.App.Engine.with.Java

    This practical guide shows intermediate and advanced web and mobile app developers how to build highly scalable Java applications in the cloud with Google App Engine. The flagship of Google's Cloud ...

    基于Google.App.Engine(GAE)的Java和GWT应用开发.pdf

    中文名: 基于Google App Engine(GAE)的Java和GWT应用开发 原名: Google App Engine Java and GWT Application Development 作者: Daniel Guermeur, Amy Unruh 资源格式: PDF 版本: 文字版 出版社: Packt ...

    Google.App.Engine编程

    中文名: Google App Engine编程 原名: Programming Google App Engine: Build and Run Scalable Web Apps on Google's Infrastructure 作者: Dan Sanderson 资源格式: PDF 版本: 英文文字版 出版社: O'Reilly书号: ...

    Google Apps Engine for Linux (google_appengine_1.9.7.zip 源码包)

    Google App Engine 是一种让您可以在 Google 的基础架构上运行您的网络应用程序。Google App Engine 应用程序易于构建和维护,并可根据您的访问量和数据存储需要的增长轻松扩展。使用 Google App Engine,将不再需要...

    Beginning Java Google App Engine

    Beginning Java Google App Engine - Kyle Roche and Jeff Douglas.pdf Google App Engine is one of the key technologies to emerge in recent years to help you build scalable web applications even if you ...

    使用JS读写AppEngine数据Tailbone.zip

    谷歌创意实验室今天推出了一个小型的开源项目Tailbone,允许开发者使用JavaScript来读、写Google App Engine Datastore中的数据。这为不熟悉或不喜欢使用Python、 Java、Go语言的开发者使用App Engine提供了一个新的...

    Python for Google App Engine(PACKT,2015)

    Google App Engine is a key component of the Google Cloud Platform and one of the most comprehensive cloud services. Together with Python, the first programming language ever supported by the platform,...

    appengine:Go App Engine套件

    其规范的导入路径为google.golang.org/appengine 。 有关更多信息,请参见 。 在上提交问题报告和功能请求。 将App Engine应用升级到灵活的环境 此软件包在App Engine flexible上不起作用。 App Engine标准环境...

    google api php client

    A JSON request to the [Datastore API](https://developers.google.com/apis-explorer/#p/datastore/v1beta3/datastore.projects.runQuery) would look like this: ```json POST ...

    The way to go

    go程序设计语言 Contents Preface................................................................................................................................. xix PART 1—WHY LEARN GO—GETTING ...

    docker-datastore-ui:Google Cloud Datastore的一个简单的for-devs用户界面

    Docker-compose示例version : " 3 "services : datastore : image : singularities/datastore-emulator environment : - DATASTORE_PROJECT_ID=dsui-local - DATASTORE_LISTEN_ADDRESS=0.0.0.0:8081 ports : - 8081:...

    [Go语言入门(含源码)] The Way to Go (with source code)

    The Way to Go,: A Thorough Introduction to the Go Programming Language 英文书籍,已Cross the wall,从Google获得书中源代码,分享一下。喜欢请购买正版。 目录如下: Contents Preface......................

    Building.Your.Next.Big.Thing.with.Google.Cloud.Platform.1484210050

    Google App Engine Managed VMs Google Cloud SQL Google Cloud Storage Google Cloud Datastore Google BigQuery Google Cloud Dataflow Google Cloud DNS Google Cloud Pub/Sub Google Cloud Endpoints Google ...

    上传 文件到Google app engine datastore的Demo

    NULL 博文链接:https://woods.iteye.com/blog/295703

    google-app-engine-ranklist-ndb:Google App Engine(和DataStore)上的排名列表

    google-app-engine-ranklist-ndb google-app-engine-ranklist-ndb是来自的分支项目 对原始代码进行了以下更改 使用ndb代替原始数据存储 带有播放器名称的get_score函数 基本测试代码 该项目包括原始存储库中的示例...

    Google Apps Engine for Windows

    Google App Engine 是一种让您可以在 Google 的基础架构上运行您的网络应用程序。Google App Engine 应用程序易于构建和维护,并可根据您的访问量和数据存储需要的增长轻松扩展。使用 Google App Engine,将不再需要...

    socialPromoPy:使用Google App Engine,TwitteSearch API,Cloud Datastore和AngularJS的示例应用程序

    Google App引擎 TwitteSearch API 云数据存储 AngularJS 安装 克隆 更改app.yaml配置 运行(在本地或在Google Cloud Platform上) 用法 待办事项:编写使用说明 贡献 叉吧! 创建功能分支: git checkout -b my-...

    joola.datastore-mongodb:Joola 的 MongoDB 数据存储

    joola.datastore-mongodb是一个 joola 插件,用于为其操作提供基于 MongoDB 的数据存储。 设置指南 要设置和使用 MongoDB 作为 joola 的数据存储,请执行以下步骤: $ npm install joola.datastore-mongodb 然后...

    joola.datastore-rethinkdb:Joola 的 RethinkDB 数据存储

    [joola API] [关于joola] [![i1] 技术] 技术 [![i2] ] [![i3] ] [![i4]] [![i5] about-image ]关于 joola是一个实时数据分析和可视化框架。 joola.datastore-rethinkdb是一个 joola 插件,用于为其操作提供基于 ...

    dsql:数据存储区SQL。 适用于Google App Engine数据存储区SQL引擎

    包com.google.appengine.api.datastore中的特殊数据类型也受支持,例如电子邮件,电话号码,... 用于测试的用户界面类:org.vesalainen.parsers.sql.dsql.ui.WorkBench 联接示例: 选择参考。 id ,RaceEntry....

Global site tag (gtag.js) - Google Analytics