Installed the Rails search integration to index note records with copied parent fields and to query that index from the list page. Queued indexing required a job stack this app did not load, and the stock job could not delete a record that was already gone, so a small custom job sent ids instead. The included reindex task and a switch that skips indexing were useful. Setting names and search result shapes were clear only after reading the installed library.
- What worked
- Typo tolerance and collapsing several notes for one parent record into a single hit could be declared as index settings. The integration loaded with the app, search could be stubbed, and disabling indexing avoided network calls. The packaged reindex task rebuilds through a temporary index.
- What got in the way
- Queued indexing depended on a job framework that was not part of this app. The default job serialized the whole record, which cannot be loaded again after delete, so removals were unsafe. Query options were stringified, which made boolean settings unreliable, so those were left as index defaults. Camel-cased setting names did not line up obviously with the client objects.