When you are sure that old indexes are no longer needed, you can delete them from Cloud Datastore using the datastore cleanup-indexes command. This command deletes all indexes for the production Cloud Datastore instance that are not mentioned in the local version of index.yaml. For more detail, you may read the "Deleting unused indexes" sub-chapter of the "Index Configuration" online document.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b0be29f5-e0e5-442f-a4bf-3416ec23c1e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It would be indeed nice, if the production system kept metrics for index usage, that way, it would be obvious which indexes are needed or not
What would be the use-case for the new feature? How would you use it, exactly? A good use-case, well-formulated in step-by-step manner might prove a great help for Developers to determine the importance of the new feature and the urgency level for its implementation.
- There is an optional parameter to init_datastore_v3_stub which you can use to require indexes: require_indexes=True.
In fact the "bingo" info is amply documented on the "Local Development Server Options" documentation page, where usage for the --require_indexes=yes|no options are described in detail.
It would be indeed nice, if the production system kept metrics for index usage, that way, it would be obvious which indexes are needed or not
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3931eabd-023b-4650-a5d6-f8473ae26ffd%40googlegroups.com.
"google.appengine.ext.testbed package" documentation page defines init_datastore_v3_stub(enable=True, datastore_file=None, use_sqlite=False, auto_id_policy='sequential', **stub_kw_args). The signature does not specifically mention the "require_index" parameter. This is passed as one of the **stub_kw_args – Keyword arguments passed on to the service stub. Would you like to see the require_index parameter defined explicitly in this context? What would you recommend, to improve documentation?
This is a well-known and popular feature request, and Engineering is already working on its eventual implementation. No estimated time to implementation has been set. Meanwhile, you may follow developments in this thread in the Public Issue Tracker.