You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.
Just though it might help someone. I modified existing indexed_title_changed. Added new method to class Searchable
def delete_index(self):
"""Remove index entities for this model."""
klass = StemmedIndex if self.INDEX_STEMMING else LiteralIndex
query = klass.all(keys_only=True).ancestor(self.key())
delete_keys = query.fetch(1000)
db.delete(delete_keys)
When deleting record do this:
p.delete_index()
p.delete()
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just though it might help someone. I modified existing indexed_title_changed. Added new method to class Searchable
When deleting record do this:
p.delete_index()
p.delete()
The text was updated successfully, but these errors were encountered: