Postgres tables should populate a "documents" style view Trigger updates view on insert/delete Trigger updates ES datastore on view refresh