如何删除搜索索引本身 [英] How to delete a search Index itself

查看:132
本文介绍了如何删除搜索索引本身的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索索引提供了一种删除文档的方法. https://developers.google.com/appengine/docs/python/search/indexclass (Python) https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/search/Index (java)

Search Index has a method to delete a document. https://developers.google.com/appengine/docs/python/search/indexclass (Python) https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/search/Index (java)

但是如何删除索引本身呢?

But how to delete Index itself?

空索引已在管理控制台的文本搜索"面板中列出.

Empty Index was listed at the Text Search Panel in the Admin Console.

但没有要删除的按钮.

推荐答案

由于您已标记gae-search,所以我认为您的问题是指Search API的索引(即,全文搜索服务,而不是NDB/HRD数据存储索引)

Since you have tagged gae-search I assume your question refers to an index of the Search API (i.e. full text search service, not NDB/HRD datastore index).

目前,您只能在索引中删除文档,但是您不能删除索引本身,例如发出 8490 . Search API的这一限制适用于Google App Engine支持的所有语言.

Currently you can only delete the documents in an index, but you can't delete the index itself, e.g. issue 8235 and 8490. This restriction of Search API applies to all languages supported in Google App Engine.

vacuum_indexes仅提示您输入数据存储区中的索引,但我也错过了针对搜索服务的类似信息.

The vacuum_indexes prompts you only for indices in datastore, but I miss something like this for the search service too.

这篇关于如何删除搜索索引本身的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆