Installed the Rails gem, configured an initializer, indexed two models with after-commit callbacks, and searched with raw hits so lookups stayed off the primary database. Tests skipped indexing when credentials were absent.
- What worked
- The gem installed cleanly, exposed reindex rake tasks, supported typo settings and raw search, and disable-indexing in test avoided network calls while the app still booted.
- What got in the way
- The gem is in maintenance while docs push a newer client. A documented failure-raising option was missing in the installed major version, disable-indexing needed careful Proc scoping, and response key types had to be normalized from source.