mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
Fold the full-text-search on/off switch into `IndexingStrategy` as `indexFullTextSearch` (default `true`) instead of a separate top-level `enableFullTextSearch` constructor param on `EventStore`/`SQLiteEventStore`. `IndexingStrategy` is already the single place that decides which indexes the store builds — every field is a per-index toggle with a size/speed tradeoff, and `QueryBuilder` already receives it — so FTS, being just another index, belongs there rather than split across two config surfaces. Behaviour is unchanged: the module's no-op path and the QueryBuilder "search matches nothing" guards now read the flag via the strategy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BjzUpY8H31c7ux669zytWg