Skip to content

feat: remove Elasticsearch drop task and constants (PPT-2644) - #104

Merged
camreeves merged 1 commit into
masterfrom
PPT-2644-remove-elasticsearch
Aug 13, 2026
Merged

feat: remove Elasticsearch drop task and constants (PPT-2644)#104
camreeves merged 1 commit 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 there are no ES indices for init to manage.

What

  • Removes the drop:elastic sam task and Tasks.drop_elastic_indices; drop now only runs drop:db.
  • Removes the ES_HOST / ES_PORT constants from src/constants.cr.
  • README: drops the drop:elastic rows and updates the drop description.

Verification

  • Rebased onto current master (v0.32.1); zero conflicts.
  • crystal build --no-codegen passes on src/sam.cr and all three shard targets (src/start.cr, src/backup.cr, src/restore.cr).
  • grep -riE 'elastic|search[-_]ingest|neuroplastic|reindex|ES_HOST|ES_PORT' over src/, spec/, and the README returns nothing.

Merge order

Pairs with PlaceOS/local#145 — its hard_reset currently invokes the drop:elastic task this PR removes — so ship both in the same release window.

Search moves to PostgreSQL full-text search; there are no ES indices to
drop. `drop` now only drops the PostgreSQL DB.

NOTE: ship in the same platform release as the PlaceOS/local change that
removes the hard-reset drop:elastic invocation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the type: enhancement new feature or request label Aug 13, 2026
@camreeves
camreeves merged commit 87bd6bd into master Aug 13, 2026
8 of 9 checks passed
@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

type: enhancement new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant