Skip to content

feat: remove Elasticsearch and search-ingest (PPT-2644) - #145

Merged
camreeves merged 2 commits into
masterfrom
PPT-2644-remove-elasticsearch
Aug 13, 2026
Merged

feat: remove Elasticsearch and search-ingest (PPT-2644)#145
camreeves merged 2 commits into
masterfrom
PPT-2644-remove-elasticsearch

Conversation

@camreeves

@camreeves camreeves commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

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

  • Removes the elastic and search-ingest services, the elastic-data volume, and the x-elastic-client-env / x-search-ingest-client-env / x-search-ingest-service anchors from docker-compose.yml; rest-api and init drop their elastic/search-ingest env and depends_on entries.
  • Removes the ELASTIC_HOST / ELASTIC_PORT / ELASTIC_VERSION, PLACE_SEARCH_INGEST_TAG / _REGISTRY / _URI entries from .env.
  • placeos CLI: hard_reset no longer runs the drop:elastic sam task.
  • README: MacOS memory note no longer singles out Elasticsearch; service graph image regenerated.

Frees ~2.25 GB of the stack's memory budget (elastic's 2g + search-ingest's 250m limits).

Verification

  • docker compose config --quiet passes 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:elastic sam task — merge both around the same release (the hard_reset change here assumes that task's removal).

camreeves and others added 2 commits August 6, 2026 03:09
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>
@camreeves
camreeves merged commit f047c87 into master Aug 13, 2026
@camreeves
camreeves deleted the PPT-2644-remove-elasticsearch branch August 13, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant