feat: remove Elasticsearch and search-ingest (PPT-2644) - #145
Merged
Conversation
Search is served directly from PostgreSQL full-text search once rest-api lands PPT-2644; the elastic + search-ingest services, their env anchors/vars, the elastic-data volume and the hard-reset drop:elastic step are no longer needed. NOTE: do not merge before the platform release containing the placeos-models search_vector migration and the PG-backed rest-api. Existing installs can remove the orphaned elastic-data volume after upgrading. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of PPT-2644: PlaceOS search now runs on PostgreSQL full-text search. rest-api no longer reads Elasticsearch (in nightly images since 2026-08-12), so the local stack no longer needs to run it.
What
elasticandsearch-ingestservices, theelastic-datavolume, and thex-elastic-client-env/x-search-ingest-client-env/x-search-ingest-serviceanchors fromdocker-compose.yml;rest-apiandinitdrop their elastic/search-ingest env anddepends_onentries.ELASTIC_HOST/ELASTIC_PORT/ELASTIC_VERSION,PLACE_SEARCH_INGEST_TAG/_REGISTRY/_URIentries from.env.placeosCLI:hard_resetno longer runs thedrop:elasticsam task.Frees ~2.25 GB of the stack's memory budget (elastic's 2g + search-ingest's 250m limits).
Verification
docker compose config --quietpasses on the branch.grep -riE 'elastic|search[-_]ingest|rubber[-_]soul|neuroplastic|reindex'over the repo returns nothing.Merge order
Safe to merge now that rest-api no longer reads ES (shipped in nightly since 2026-08-12). Pairs with the PlaceOS/init PR removing the
drop:elasticsam task — merge both around the same release (thehard_resetchange here assumes that task's removal).