I have an NDB model with some obsolete EntitiesByProperty
indexes. Some belong to properties that are no longer part of the schema (but they do exist on some old entities), and some belong to properties that are never used for queries (but they were with Indexed=True
because this is ndb model's default).
I tried using vacuum_indexes
, but it only vacuums composite indexes.
I also changed some of those properties to have Indexed=False
, but no EntitiesByProperty
index tables are deleted.
How can I remove obsolete EntitiesByProperty
index table? It looks like I'll have to write some code that will update all model entities. Is it correct? Are there any other ways of simply dropping the entire table?