Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def delete_associations_from_elastic_search
- # efficiently delete all records from Elastic with the given site ids
- Escargot::Cluster.delete_by_query("site_id:(#{site_ids.join(' OR ')})")
- end
Add Comment
Please, Sign In to add comment