I'm going to try and use PGSync to keep elasticsearch up to date with Postgres (the source of truth) automatically.
relates: #70
Problem You're Trying to Solve
After a discussion with Max, I realized that making backend keep Elasticsearch up to date by hitting the endpoint whenever a listing gets added is risky if either system goes down.
Additionally, the 2000 or so demo listings inserted into Postgres before the demo are not being sent to Elasticsearch as is.
Feature Description
I'm going to try and use PGSync to keep elasticsearch up to date with Postgres (the source of truth) automatically.
relates: #70
Problem You're Trying to Solve
After a discussion with Max, I realized that making backend keep Elasticsearch up to date by hitting the endpoint whenever a listing gets added is risky if either system goes down.
Additionally, the 2000 or so demo listings inserted into Postgres before the demo are not being sent to Elasticsearch as is.
Related External Resources